InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is not a stable sorting algorithm?(a) Quick sort(b) Cocktail sort(c) Bubble sort(d) Merge sortI had been asked this question in an interview for job.Query is from Sorting topic in section Sorting of Data Structures & Algorithms II |
|
Answer» RIGHT answer is (a) QUICK sort The explanation is: Out of the given options quick sort is the only algorithm which is not STABLE. Merge sort is a stable SORTING algorithm. |
|