Open In App
Related Articles

GATE | GATE CS 2010 | Question 18

Improve Article
Save Article
Like Article

Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum number of keys in any non-root node?
(A) 1
(B) 2
(C) 3
(D) 4

Answer: (B)



This solution is contributed by Anil Saikrishna Devarasetty

Another one:
Since the maximum number of keys is 5, maximum number of children a node can have is 6. By definition of B Tree, minimum children that a node can have would be 6/2 = 3. Therefore, minimum number of keys that a node can have becomes 2 (3-1).

Quiz of this Question

Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads