Explore BrainMass

Transversal in a tree

Find the:

1. preorder transversal
2. inorder transversal
3. postorder transversal

Of the tree attached in the Word document.


Solution Preview

According to


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 ...

Solution Summary

The solution demonstrates what are the processes of sorting a tree and how to apply them to a specific tree.