I have the question regarding my homework:
1) First of all, assuming that 4 pointers might fit in an internal node and each leaf node can store 4 key values, the B+ tree should be constructed with the following values:
2, 3, 5, 7, 11, 17, 19, 23, 29, 31.
With the site, I've received the tree below. I am not sure if it is right, because the in the leaf nodes, there might have three key values:
The problem starts with an insertion and deletion. Consequently inserting 9, 10, 8, I've received the tree below:
But when I delete 23, I describes as below. The problem is, 19 couldn't be alone, since the leaf must be half-full:
The deleting 19 after that gives the same problem:
The questions are:
1) is the initial tree is correct?
2) Are my assumptions about deletions are correct?
3) And how must be trees lookalike after the deletion?
With regards.



