Question: Question 1 ( 2 - 3 Trees ) ( a ) ( 2 5 points ) Answer this question considering the 2 - 3 tree
Question Trees
a points Answer this question considering the tree insertion algorithm which uses the bottomup approach that we mentioned in class.
Draw the resulting tree after inserting into the following tree. Show all steps of this insertion by drawing the tree after each intermediate operation
similar to the examples given in class
b points Answer this question considering the tree deletion algorithm which uses the bottomup approach that we mentioned in class.
What is the smallest item value in the following tree whose deletion decreases the tree height? Note that in this tree, there may exist more than one
item value whose deletion decreases the tree height. You should give the smallest of those as your answer.
Then, draw the resulting tree after deleting this smallest item. Show all steps of this deletion by drawing the tree after each intermediate operation
similar to the examples given in class
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
