DataStructures / Data structures Interview questions
What is tree traversal?
Tree traversal is the process to visit all the nodes of a tree. All the nodes are connected via edges (links), we always start from the root (head) node. There are three ways which we use to traverse a tree.
- In-order Traversal,
- Pre-order Traversal,
- Post-order Traversal,
More Related questions...