Binary Tree Preorder Traversal - Iterative — Interactive Visualizer

Iterative DFS using an explicit stack. Push root, then loop: pop → record → push right → push left.