GATE 2025 set2 Computer Science and Information Technology question: In a B +-tree where each node can hold at most four key values, a root to leaf path…
In a B-tree where each node can hold at most four key values, a root to leaf path consists of the following nodes:
A = (49, 77, 83, -), B = (7, 19, 33, 44), C = (20*, 22*, 25*, 26*)
The *-marked keys signify that these are data entries in a leaf.
Assume that a pointer between keys and points to a subtree containing keys in , and that when a leaf is created, the smallest key in it is copied up into its parent.
A record with key value 23 is inserted into the B-tree.
The smallest key value in the parent of the leaf that contains 25* is ___________. (Answer in integer)
Show answer
Official answer: 33