0
7.8kviews
Explain different types of tree traversals technique with examples. Also write recursive function for each traversal technique
1 Answer
| written 7.2 years ago by | modified 7.2 years ago by |
To traverse a binary tree means to visit each node of the tree exactly once in a systematic fashion.
Binary tree is non-linear data structure. Hence, we can’t traverse it like a linked list is a sequential manner but it requires a different approach.
We mainly have three algorithms for …