Get minimum element from stack in O(1)
Filed under Pirimid Fintech LLP
The question
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time O(1).
No write-up yet. Related questions below have one.
Related Pirimid Fintech LLP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.