1.

Quick sort is a space-optimised version of ____(a) Bubble sort(b) Selection sort(c) Insertion sort(d) Binary tree sortThe question was posed to me in class test.My question is from Quicksort in portion Sorting of Data Structures & Algorithms II

Answer»

The correct OPTION is (d) Binary tree sort

The EXPLANATION is: Quick sort is a space-optimised version of the binary tree sort. In binary sort tree, the ELEMENTS are inserted sequentially into the binary search tree and Quick sort ORGANISES elements into a tree that is implied by the recursive calls.



Discussion

No Comment Found

Related InterviewSolutions