Implement Min Stack in O(1)
Filed under Grofers
The question
Implement a stack that supports retrieving the minimum element in O(1) time.
No write-up yet. Related questions below have one.
Related Grofers questions
Collected from public candidate posts and coding forums. Updated Nov 2026.