Skip to content

Commit 734b65b

Browse files
authored
Update 946. Validate Stack Sequences.txt
1 parent edfa088 commit 734b65b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Daily Challenge/946. Validate Stack Sequences/946. Validate Stack Sequences.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
946. Validate Stack Sequences(Medium)
22

3-
Given two integer arrays pushed and popped each with distinct values, return true if this could have been the result of a sequence of push and pop operations on an initially empty stack, or false otherwise.
3+
Given two integer arrays pushed and popped each with distinct values, return true if this could have been the result of a sequence of
4+
push and pop operations on an initially empty stack, or false otherwise.
45

56

67

@@ -26,4 +27,4 @@ Constraints:
2627
0 <= pushed[i] <= 1000
2728
All the elements of pushed are unique.
2829
popped.length == pushed.length
29-
popped is a permutation of pushed.
30+
popped is a permutation of pushed.

0 commit comments

Comments
 (0)