Problem 1: Answer the following problems. For each problem, start with the B+-tree in Figure 1. Figure 1 is attached (a) Show the tree that would result from inserting 7 into the tree in Figure 1. When a node is split into two nodes, ensure that the right node has no more keys/pointers than the left node. You may omit the parts of the tree that do not change. (b) Show the tree that would result from deleting 10 from the tree in Figure 1. When node merging or redistribution is needed, if both the left and right sibling nodes are available, use the left sibling node. You may omit the parts of the tree that do not change. (c) Draw the tree that would result from deleting 27 from the tree in Figure 1. If a node requiring merging/redistribution has both left and right sibling nodes, use the left sibling node for merging/redistribution. You may omit the parts of the tree that do not change. (d) Show the tree that would result from deleting 32, 39, 41, 45, and 73 from the tree in Figure 1 (no need to show the tree for each deletion). You may omit the parts of the tree that do not change.
Problem 1: Answer the following problems. For each problem, start with the B+-tree in Figure 1. Figure 1 is attached
(a) Show the tree that would result from inserting 7 into the tree in Figure 1. When a node is split into two nodes, ensure that the right node has no more keys/pointers than the left node. You may omit the parts of the tree that do not change.
(b) Show the tree that would result from deleting 10 from the tree in Figure 1. When node merging or redistribution is needed, if both the left and right sibling nodes are available, use the left sibling node. You may omit the parts of the tree that do not change.
(c) Draw the tree that would result from deleting 27 from the tree in Figure 1. If a node requiring merging/redistribution has both left and right sibling nodes, use the left sibling node for merging/redistribution. You may omit the parts of the tree that do not change.
(d) Show the tree that would result from deleting 32, 39, 41, 45, and 73 from the tree in Figure 1 (no need to show the tree for each deletion). You may omit the parts of the tree that do not change.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images