Stack GetMax Operation
Filed under Opera
The question
Design a new operation in a stack to get the maximum element while maintaining the stack order.
No write-up yet. Related questions below have one.
Related Opera questions
Collected from public candidate posts and coding forums. Updated Nov 2026.