how can i do it by iterative?
How can i do samething by iterative?
Hey @Vipin_coder
you Can do it using 1 stack
1 Push root to stack.
2. Loop while stack is not empty
Pop a node from stack and and print
Push right and left children of the popped node stack