1.

Introsort algorithm is combination of _____________(a) Quick sort and Heap sort(b) Quick sort and Shell sort(c) Heap sort and Merge sort(d) Heap sort and insertion sortThe question was asked in examination.My question comes from Heapsort in section Sorting of Data Structures & Algorithms II

Answer»

The correct OPTION is (a) QUICK sort and HEAP sort

Easy explanation - Introsort is a hybrid sorting algorithm that combines Quick sort and Heap sort to retain advantages of both. It has WORST case speed of Heap sort and average case speed of Quick sort.



Discussion

No Comment Found

Related InterviewSolutions