Concept Flow - BST Iterator Design
Initialize stack empty
Push left nodes from root
Check stack empty?
Yes→End iteration
No
Pop top node
Return node value
Push left nodes of popped node's right child
Repeat from Check stack empty?
The iterator uses a stack to store left nodes. It pops the top node to return its value, then pushes left nodes of the popped node's right child, repeating until stack is empty.