1.

Which type of binary search tree is imitated for construction of tango tree?(a) Complete Binary Search Tree(b) Perfect Binary Search Tree(c) Balanced Binary Search Tree(d) Degenerate Binary Search TreeMy doubt is from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms II had been asked this question in unit test.

Answer»

Correct choice is (a) COMPLETE Binary Search Tree

For EXPLANATION: Tango tree is constructed by simulating a complete binary search tree. This tree is also known as Reference tree, that CONTAINS all the elements of the tree. Also, the reference tree is never showed in ACTUAL implementation.



Discussion

No Comment Found

Related InterviewSolutions