Skip to content

Commit 2c1fc60

Browse files
committed
Solution for MinStack.
1 parent dde75bb commit 2c1fc60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MinStack.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
push(-3),getMin
2+
3+
push(2147483646),push(2147483646),push(2147483647),top,pop,getMin,pop,getMin,pop,push(2147483647),top,getMin,push(-2147483648),top,getMin,pop,getMin

0 commit comments

Comments
 (0)