B-Trees & Multiway Search Trees


Answer & solution
Answer: A, D: 4 and 7 (no official key was published)
At height two, the root must have three children and each must have three leaves, giving 1+3=4 internal nodes and nine leaves. At height three, nine leaves require four parents at the deepest internal level, since five would already require ten leaves. The preceding level must therefore have two nodes with two children each, and the root has those two children. Internal count is 1+2+4=7; give one deepest node three leaves and the others two to get nine. Greater height needs at least sixteen leaves. Thus counts 5 and 6 cannot fit the equal-depth constraint.