October 2018
Beginner to intermediate
398 pages
11h 1m
English
In-order tree traversal works as follows. First of all, we check if the current node is null or empty. If it is not empty, we traverse the tree. In in-order tree traversal, we follow these steps:
So, in a nutshell, in in-order tree traversal, we visit the nodes in the tree in the order of (left sub-tree, root, right sub-tree).
Let's consider an example to understand in-order tree traversal:

In the example binary ...