Min-stack implementation in O(1)
Filed under PharmEasy
The question
Design an extended stack that supports standard operations and retrieves the minimum element in O(1) time complexity.
No write-up yet. Related questions below have one.
Related PharmEasy questions
Collected from public candidate posts and coding forums. Updated Nov 2026.