Question DSA-BST-0018
HardWhat is the maximum height of an AVL tree with n nodes?
- A.
n
- B.
About 1.44 log₂ n, i.e. O(log n)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Binary Search Trees question
What is the maximum height of an AVL tree with n nodes?
n
About 1.44 log₂ n, i.e. O(log n)
Sign up free to see the answer and a step-by-step explanation.
√n
log₂ n exactly