InterviewSolution
Saved Bookmarks
| 1. |
What is the maximum number of keys that a B+ -tree of order 3 and of height 3 have?(a) 3(b) 80(c) 27(d) 26I'm obligated to ask this question of B-Trees topic in chapter B-Trees of Data Structures & Algorithms II got this question in a job interview. |
|
Answer» CORRECT option is (d) 26 To EXPLAIN: A B+ tree of ORDER n and height H can have at most n^h – 1 keys. Therefore MAXIMUM number of keys = 3^3 -1 = 27 -1 = 26. |
|