Min Stack — Interactive Visualizer
Store each pushed value together with the minimum seen so far so min() stays O(1).