← All problems
Medium · Stack

Min Stack

Design a stack with constant-time minimum lookup.

Full problem and submission ↗
main.js

Console

Ready