Concept Flow - BST Iterator Design
Initialize stack empty
Push left nodes from root
HasNext?
No→End
|Yes
Pop top node
Return node value
Push left nodes from popped node's right child
↩Back to HasNext?
The iterator uses a stack to store left nodes from the current subtree. On next(), it pops the top node, returns its value, then pushes left nodes from its right child.
