1.

Introsort begins sorting the given array by using which of the following sorting algorithm?(a) selection sort(b) quick sort(c) insertion sort(d) heap sortI have been asked this question in final exam.Question is taken from Sorting in chapter Sorting of Data Structures & Algorithms II

Answer»

Correct choice is (B) QUICK sort

For explanation: Introsort begins sorting any given ARRAY by using quick sort. Then it may switch to heap sort or insertion sort or may stick to quick sort depending upon the size of the partition.



Discussion

No Comment Found

Related InterviewSolutions