My B+ tree looks like :
rest of tree / 9 10 / \ \ 5 9 10
If I need to delete 5, I can't simply remove it because the page wouldn't contain any elements after that.
So, I decide to merge with the right sibling.
I don't understand what I must do about the parent 9.
I cannot delete the 9 of the parent, and merge 5 and 9 leaf pages, because 9 isn't being deleted at all!
How do I proceed?