Min Stack Complexity Analysis push: O(1) pop: O(1) top: O(1) getMin: O(1) Dual-Stack Insight Maintain an auxiliary stack for prefix minimums.