1.

Which of the following is a self – balancing binary search tree?(a) 2-3 tree(b) Threaded binary tree(c) AA tree(d) TreapQuestion is from Binary Trees in portion Binary Trees of Data Structures & Algorithms IThe question was posed to me during an online exam.

Answer»

Right option is (c) AA tree

Easiest explanation - An AA tree, which is a VARIATION of red-black tree, is a self – balancing BINARY search tree. 2-3 is B-tree of order 3 and TREAT is a randomized binary search tree. A THREADED binary tree is not a balanced tree.



Discussion

No Comment Found

Related InterviewSolutions