Maximum depth of an AVL tree

Consider an AVL tree with n n vertices. What is its maximum possible depth?

In the answer choices, ϕ = 1 + 5 2 \phi = \frac{1+\sqrt{5}}{2} and ϕ = 1 5 2 \phi' = \frac{1-\sqrt{5}}{2} .

log 2 ( n ) \log_2 (n) O ( log ϕ n ) O(\log_{\phi'} n) n \sqrt{n} n n O ( log ϕ n ) O(\log_{\phi} n)

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Hasmik Garyaka
Feb 16, 2019

The minimum number of AVL nodes is Fib(h+2)-1

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...