Which of the following is not a stable sorting algorithm?
(a) Quick sort
(b) Cocktail sort
(c) Bubble sort
(d) Merge sort
I had been asked this question in an interview for job.
Query is from Sorting topic in section Sorting of Data Structures & Algorithms II