Final 450

Stacks & Queues

Design a Stack that supports getMin() in O(1) time and O(1) extra space.

Part of the Final 450 DSA sheet. Solve it on one of the links below, then sign up to track your progress.

Final 450 — DSA Tracker