1.

Which of the following sorting algorithm is NOT stable?(a) Quick sort(b) Brick sort(c) Bubble sort(d) Merge sortThis question was posed to me in homework.Question is taken from Sorting in section Sorting of Data Structures & Algorithms II

Answer» CORRECT OPTION is (a) Quick sort

Easiest explanation - Out of the given OPTIONS quick sort is the only algorithm which is not STABLE. BRICK sort like bubble sort is a stable sorting algorithm.


Discussion

No Comment Found

Related InterviewSolutions