Question

A sorting algorithm is considered "stable" if it maintains the relative order of records with equal keys. Which of the following algorithms is generally stable?

A Quick Sort
B Heap Sort
C Selection Sort
D Merge Sort
E Shell Sort
Practice Next

Hey! Ask a query