980 views
0 votes
0 votes

In this by deleting 298 last node is not staifying half filled property so 65 is adjusted in that last node 

By this now tree becomes as

                                  [|45|]
                            [|5|29|]   [|51|59|65|]
[|1|3|4|] [|5|9|] [|29|37|43|] [|45|47|49|] [|51|53|57|] [|59|61|] [|65|165|]

every node is ok then why 29 is made as root

Don't whether my doubt is correct 

can anybody say please

1 Answer

1 votes
1 votes
There is no need to change the root node for deleting the leaf node

since by deleting 298 there is underflow so 65 in left sibling is transferred to the neighboring node and search key should be updated

so the search key node will be 51 59 65.

your explanation is correct.....
edited by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
2
Xylene asked Jan 31, 2017
643 views
What will be the resultant B tree after deleting A,V and then P? Order of B tree is 3
1 votes
1 votes
2 answers
3
sushmita asked Jan 8, 2017
821 views
CAN SOMEONE PLZ EXPLAIN TO ME DELETION IN B+ TREES?? I AM NOT ABLE TO UNDERSTAND CLEARLY.