The minimum height of self balancing binary search tree with n nodes is _____

Category: QuestionsThe minimum height of self balancing binary search tree with n nodes is _____
Editor">Editor Staff asked 4 weeks ago

The minimum height of self balancing binary search tree with n nodes is _____
 
(a) log2(n)
 
(b) n
 
(c) 2n + 1
 
(d) 2n – 1
 
My question is from Binary Trees topic in portion Binary Trees of Data Structures & Algorithms I
 
This question was posed to me in homework.

1 Answers
Editor">Editor Staff answered 4 weeks ago

Right option is (a) log2(n)
 
Explanation: Self – balancing binary trees adjust the height by performing transformations on the tree at key insertion times, in order to keep the height proportional to log2(n).