0 votes 0 votes https://gateoverflow.in/1330/gate2009-44 Can anybody provide me the diagrams of the insertion operations. In both the cases, left biasing and right biasing. Do we split every time a node is full? Even when its siblings have space? Thank You. Databases databases b-tree + – Rishabh Gupta 2 asked Dec 9, 2017 Rishabh Gupta 2 1.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes have to take maximum number of splits possible from left and right biasing : Caption Shivansh Gupta answered Dec 9, 2017 • selected Dec 12, 2017 by Rishabh Gupta 2 Shivansh Gupta comment Share Follow See all 2 Comments See all 2 2 Comments reply Rishabh Gupta 2 commented Dec 9, 2017 reply Follow Share Thanks :) I still have a few doubts: 1. So when we do left biasing, the parent node's key holds the largest value of the left child. Like in the diagram of left bias after inserting 6, we have 6 in the parent and not 10. And in right bias, the parent's key hold the smallest value of right child. Am I correct? 2. We split the node whenever it exceeds the maximum capacity, without looking at the left or right sibling. Correct? Have a look at these three videos in this channel: https://www.youtube.com/channel/UCbowfWkY0jVt2eM_r9oOUVA 1 votes 1 votes Shivansh Gupta commented Dec 9, 2017 reply Follow Share yes, both of your points are correct. 0 votes 0 votes Please log in or register to add a comment.