Design a MinStack
Design a stack data structure that supports standard push, pop, and top operations while also allowing retrieval of the minimum element in constant time (O(1)).
Asked at:
Expedia
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late June, 2026
Expedia
Mid-level
Hello Interview Premium
Your account is free and you can post anonymously if you choose.