Skip to Content
Digital GardenComputer ScienceAlgorithms & Data StructuresSearching & SortingStable Sorting Algorithms

Stable Sorting Algorithms

Whether a sorting algorithm is stable or not is quite simple to determine. If the algorithm preserves the relative order of equal elements, it is stable. If it does not, it is not stable.

Stable vs Unstable Sorting Algorithms.
Stable vs Unstable Sorting Algorithms.
Last updated on