What is an AVL tree?

Category: QuestionsWhat is an AVL tree?
Editor">Editor Staff asked 1 month ago

What is an AVL tree?
 
(a) a tree which is balanced and is a height balanced tree
 
(b) a tree which is unbalanced and is a height balanced tree
 
(c) a tree with three children
 
(d) a tree with atmost 3 children
 
My question is based upon AVL Tree in chapter Binary Trees of Data Structures & Algorithms I
 
This question was posed to me in exam.

1 Answers
Editor">Editor Staff answered 1 month ago

Right choice is (a) a tree which is balanced and is a height balanced tree
 
Explanation: It is a self balancing tree with height difference atmost 1.