GATE CS 2025, set 2 · Question 57 · Databases · Numerical answer (NAT) · 2 marks · no negative marks

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 k₁ and k₂ points to a subtree containing keys in [k₁, k₂), 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)

Answer

Answer 33

Answer from the official GATE CS 2025 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes