1.

Which of the following data structure is required for the implementation of tree sort?(a) any ordinary tree(b) balanced tree(c) binary search tree(d) unbalanced treeThe question was asked in examination.Question is from Sorting topic in chapter Sorting of Data Structures & Algorithms II

Answer»

The correct ANSWER is (c) binary search TREE

To EXPLAIN: Tree sort uses a binary search tree for sorting the given ELEMENTS. Tree sort can also be performed by using an unbalanced binary search tree.



Discussion

No Comment Found

Related InterviewSolutions