Question
  1. Here we study B-tree insertion and deletion.
    1. (10 pts) Consider the B-tree with minimum branching factor of t = 3 which is displayed below: Here we study B-tree insertion and deletion (a) (10 pts) Consider the B-tree with minimum branching factor of t-3 which is di
0 0
Add a comment Improve this question Transcribed image text
Answer #1

insotJ insert l K. I RITx Final tee alter insOn3

b).Deletion in B-tree algorithm:-

1).First find the node to be deleted.

2).i).If that node is lead then delete it,see if minimum key constraints is satisfied or not.

IF It is satisfied then ok.If not then underflow occurs,then see if its immediate right or left sibling can help him to overcome underflow.

If left can then take a key into node from parent and put the largest in left node as key in parent.

If right can then take a key into node from parent and put the smallest in its right node as key in parent.

If node sibling's can't help then merge the nodes(sibling) into one.by taking key from parent and two child nodes.

3).If that node is not leaf.

Delete it,replace it by predecessor or successor.

See if any problem exists.then solve it using steps in steps in 2).

2- minimun banchin fach carly nvde conkaining 2 is satistying mnimum constainks 4 kame finat tee atter 1시 2. B D

Add a comment
Know the answer?
Add Answer to:
Here we study B-tree insertion and deletion. (10 pts) Consider the B-tree with minimum branching factor of t = 3 which is displayed below: Here we study B-tree insertion and deletion (a) (10 pts...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT