Low-Level DesignReported in a candidate post, Sep 2019
Design a MaxStack data structure
Filed under Livspace
The question
Design a data structure that supports push, pop, and maxPop operations with optimal time complexity.
No write-up yet. Related questions below have one.
Related Livspace questions
Collected from public candidate posts and coding forums. Updated Nov 2026.