Indexing, Storage & Query Processing



Answer & solution
Answer: Root [4,7]; linked leaves [1,2,3] → [4,5,6] → [7,8,9,10]. (no official key was published)
The requested tree is:
[4 | 7]
/ | ╲
[1 2 3] → [4 5 6] → [7 8 9 10]After the first split, increasing keys always enter the rightmost leaf. That leaf fills with 4,5,6,7,8 and overflows on 9. Splitting its six keys yields [4,5,6] and [7,8,9]; copy 7 into the existing root. The root now has two separators and three child pointers, well within its five-key capacity, so it does not split. Insert 10 into the rightmost leaf to get [7,8,9,10]. The first leaf remains [1,2,3]. Separators4 and 7 remain present in their respective data leaves. Under a max-left separator convention the same leaf layout can be shown with root[3,6]; the answer above uses the stated minimum-of-right convention throughout.