Question: b. Based on Figure 2, answer the following questions which are executed in sequence. 39 30 48 1 / 1 20 35 42 58 /

b. Based on Figure 2, answer the following questions which are executed in sequence. 39 30 48 1 / 1 20 35 42 58 / 15 25 55 70 / 7 10 21 29 65 80 / 7 60 71 Figure 2 i. Suppose we insert a new node 49, what will be the parent of node 49? ii. Suppose we remove the root node, what will be the new root? iii. Suppose we remove node 58, what will be the parent of node 55 and 70? iv. Suppose we remove node 15, what will be the parent of node 10? Please answer all parts of the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
