Smallest number in Stack in O(1)
Filed under Cloud Lending
The question
Design a stack that supports finding the minimum element in O(1) time complexity.
No write-up yet. Related questions below have one.
Related Cloud Lending questions
Collected from public candidate posts and coding forums. Updated Nov 2026.