CodingReported in a candidate post, Jul 2025
Get the minimum element from a stack
Filed under NatWest
The question
Design a stack that supports retrieving the minimum element, ideally in constant time and extra space.
No write-up yet. Related questions below have one.
Related NatWest questions
Collected from public candidate posts and coding forums. Updated Nov 2026.