1.

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 childrenMy question is based upon AVL Tree in chapter Binary Trees of Data Structures & Algorithms IThis question was posed to me in exam.

Answer»

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.



Discussion

No Comment Found

Related InterviewSolutions