Sorting AlgorithmsSelection Sort
Selection Sort
Repeatedly selects the smallest remaining element and moves it to the front, using at most n−1 swaps.
Beginnercomparison sortin-placequadraticfew swaps
Loading visualization…
Repeatedly selects the smallest remaining element and moves it to the front, using at most n−1 swaps.