Which of the following is true about an AVL tree?
18 views
- It is a binary search tree with balanced heights of its left and right subtrees. (Correct Answer)
- It is a binary tree with a maximum height of log n.
- It is a binary tree where every node has at most two children.
- It is a binary tree where every leaf node is at the same level.
Explanation
Answer: a) It is a binary search tree with balanced heights of its left and right subtrees.