โ† FactSet questions

Design a getMin() stack in O(1) space

Filed under FactSet

The question

Design a stack that supports push, pop, and retrieving the minimum element in O(1) time without using extra space.

No write-up yet. Related questions below have one.

Related FactSet questions

Collected from public candidate posts and coding forums. Updated Nov 2026.