Exercises On Trees
Exercises On Trees
1
6. For each node in the tree above, indicate the leftmost child and right sibling.
7. Represent the tree above by leftmost-child and right-sibling pointers. How many bytes are needed to
represent this tree assuming a pointer is 4 bytes long and an integer is also 4 bytes long?