Binary Tree Traversal (7 Qs)
Series of problems related to "Binary Tree Traversal"
Last updated
Series of problems related to "Binary Tree Traversal"
Last updated
We could solve these problems iteratively using the same technique, Stack/Queue.
For solving inorder and postorder traversal iteratively, we need to store extra information "Visited Status".
For level order, we need to use Queue instead of Stack.
Related problems (follow the order to solve each problem):
Summary of Traversal Types: