Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

B+ Trees for data. Suppose that a page can contain at most four data values and

ID: 3766750 • Letter: B

Question

B+ Trees for data. Suppose that a page can contain at most four data values and that all data values are

integers. Using only B+ trees of order 2, give examples of each of the following:

a. A B+ tree whose height changes from 2 to 3 when the value 25 is inserted.

Show your structure before and after the insertion.

b. A B+ tree in which the deletion of the value 30 leads to a redistribution. Show

your structure before and after the deletion.

c. A B+ tree in which the deletion of the value 35 causes a merging of two nodes

but without altering the height of the tree.

Explanation / Answer

B+ Trees for data. Suppose that a page can contain at most four data values and