Which type of binary search tree is imitated for construction of tango tree?

Category: QuestionsWhich type of binary search tree is imitated for construction of tango tree?
Editor">Editor Staff asked 4 weeks ago

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 Tree
 
My doubt is from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms I
 
I had been asked this question in unit test.

1 Answers
Editor">Editor Staff answered 4 weeks ago

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.