DSA Master
Home
Problems
123
Schedule
17 Patterns
Data Structures
PDF Guide
Back to Problems
Mark as Complete
Min Stack
#155
Medium
Stack
O(1)
O(n)
Amazon
Microsoft
Bloomberg
Google
View on LeetCode
Description
Approach
Solution
Related
Problem Description
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.