Question: Question Based on the binary tree above, answer the questions: What are the ancestors of node P What are the descendants of node K What
Question

- Based on the binary tree above, answer the questions:
- What are the ancestors of node P
-
- What are the descendants of node K
-
- What is the maximum possible number of nodes in the tree at the level of node W?
- What is the maximum possible number of nodes in the tree at the level of node N?
- Assume that node O is inserted. How many nodes would be in the tree if it were completely full down to and including the level of node O?
- Show the order in which the nodes in the tree are processed by preorder traversal.
- Draw the binary search tree which elements are inserted in the following order: 50 72 96 94 107 26 12 11 9 2 10 25 51 16 17 95
tree D M R B P W N
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
