Question: 2. The following questions are based on a binary search tree in Figure Q2. 20 9 4 5 15 33 60 2 7 55 70

 2. The following questions are based on a binary search tree

2. The following questions are based on a binary search tree in Figure Q2. 20 9 4 5 15 33 60 2 7 55 70 Figure Q2 (a) Which one is the root? [1 marks] (b) List all leaves. [3 marks] (c) Name each ancestor of the node that contains 15. [2 marks] (d) Name parent of 33. [1 mark] 3. Draw the binary search tree that is created if the following sequences of characters are inserted in the tree in the given order. (a) QWERTYUIOP [3 marks] (b) QAZWSXEDCRFV [4 marks) -3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!