Y
YeetCode
Dashboard
/
Stack
/
Min Stack
Medium
#155
Auxiliary Stack
Min Stack
Design a stack that supports retrieving the minimum element in O(1).
Solve on LeetCode
↗
Full Explanation
Previous
← Valid Parentheses
Next
Evaluate Reverse Polish Notation →