Question: Partition all number between 0 0 and 1 0 0 1 0 0 that are not yet in the above AVL - tree into intervals

Partition all number between
0
0 and
100
100 that are not yet in the above AVL-tree into intervals such that two numbers in the same interval would be added to the same position in the AVL-tree.
For each such interval you need to specify:
(1) The interval, e.g.,0-6.
(2) The position in the AVL-tree, where every number in the interval is inserted. For instance, if all numbers in the interval are inserted to the left of 7, write L7, if they are inserted to the right of 7, write R7.
(3) The type of reorganization that has to be applied after one (any) number in the interval would be inserted in the AVL-tree. There are three possible types of reorganization:
(A) For no reorganization write N.
(B) For a simple rotation write SR.
(C) For a double rotation write DR.
You should consider the intervals in their natural order. Use each of the following sub-questions to specify all of the above information for one interval (starting from the second interval because the first interval is given as an example). For instance, the first interval contains all numbers between 0 and 6, and those will be inserted to the left of 7 using a simple rotation. Therefore, you would need to write: 0-6 L7 SR for the first interval.
Question 5.12nd interval:

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!