Question: Q5. [18 marks] Answer the following questions about the Binary Search Tree. (Hint. You may follow the steps as shown in CSCI2100D-Lectures-13-Binary-Search-Tree). - (i). [4
![Q5. [18 marks] Answer the following questions about the Binary Search](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3ab21b0631_08966f3ab2135bbd.jpg)
Q5. [18 marks] Answer the following questions about the Binary Search Tree. (Hint. You may follow the steps as shown in CSCI2100D-Lectures-13-Binary-Search-Tree). - (i). [4 marks] Given a binary search tree T3 as shown in Fig. 3, show the nodes examined when searching for 45 . - (ii). [7 marks] Given a binary search tree T3 as shown in Fig. 3, draw the binary search tree after inserting 26,42 in order. - (iii). [7 marks] Given a binary search tree T3 as shown in Fig. 3, draw the binary search tree after deleting 36,49 in order. Fig. 3. A Binary Search Tree T3 for Q5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
