Selection sort
For each place from the left, look through every number not yet placed for the smallest, and swap it into that place, where it stays. It looks at every pair once, however the row starts.
- comparisons
- 0
- swaps
- 0
step 1 of 1
Examples
For each place from the left, look through every number not yet placed for the smallest, and swap it into that place, where it stays. It looks at every pair once, however the row starts.
step 1 of 1
Examples