1. preorder transversal
2. inorder transversal
3. postorder transversal
Of the tree attached in the Word document.© BrainMass Inc. brainmass.com March 4, 2021, 6:01 pm ad1c9bdddf
the process of preorder transversal:
1. Begin in the root.
2. Transverse the left subtree then
3. transverse the right subtree
So in our case we begin at the root to get d, then go to the left to get b, from b we go left again to get a. We can not go any further, so we return to b. From there we can go to c (the next leftmost). We ...
The solution demonstrates what are the processes of sorting a tree and how to apply them to a specific tree.