1.

Which is the simplest of all binary search trees?(a) AVL tree(b) Treap(c) Splay tree(d) Binary heapThe origin of the question is Binary Trees topic in division Binary Trees of Data Structures & Algorithms IThe question was asked in my homework.

Answer»

The correct OPTION is (b) TREAP

Easiest explanation - A treap is the SIMPLEST of all binary SEARCH trees. Each node is given a numeric priority and implementation is non RECURSIVE.



Discussion

No Comment Found

Related InterviewSolutions