Skip to main content

One doc tagged with "Selection Sort"

View all tags

Selection Sort

Direct selection sort, why it performs at most n - 1 swaps, why it is not stable, and when its few swaps make it useful.