Last Updated : 25 Dec, 2018

Which of the following option is correct considering normal implementations of sorting algorithms?
(A) Merge Sort, Insertion Sort, and Bubble sort are type of stable sorting algorithms.
(B) Quick Sort, Heap Sort, Selection sort are type of non-stable sorting algorithms.
(C) Both (A) and (B)
(D) None of these


Answer: (C)

Explanation: Both (A) and (B) are correct.

Merge Sort, Insertion Sort, and Bubble Sort are type of stable sorting algorithms.

Quick Sort, Heap Sort, Selection Sort are type of non-stable sorting algorithms.

Option (C) is true.

Quiz of this Question


Share your thoughts in the comments