Machine-translated by Google. Questions are authored in English.
Top

Discussion

Maximum height of a B+ tree of order m with n key values is

  • A.Logm(n)
  • B.(m+n)/2
  • C.Logm/2(m+n)
  • D.None of these

Answer: D

Correct answer: None of these

In a B+ tree of order m each node holds at least \( \lceil m/2 \rceil \) pointers, so the height is bounded by

\[ h \le \log_{\lceil m/2 \rceil}(n) \]

The base is \( \lceil m/2 \rceil \), not m - the minimum fill, since the worst case is the sparsest tree. None of the three expressions offered has that form.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.