Iterative solution?

iterative solution??

hey @Vipin_coder
Yes you can do it using Two Stack
1 Push root to first stack.
2. Loop while first stack is not empty
Pop a node from first stack and push it to second stack
Push left and right children of the popped node to first stack
3. Print data of second stack