What is 'Stable' sorting examples?
What is 'Stable' sorting examples?
Approach: List common stable and unstable algorithms.
Stable: Mergesort, Insertion Sort, Bubble Sort. Unstable: Quicksort, Heapsort, Selection Sort.
Follow-up: Can any unstable sort be made stable?
Key concepts: mergesort, insertionsort, quicksort.