VISUALGO//SORT
selection sort · sorting trace console · O(n²)
● MIN   ● COMPARING   ● SWAPPED   ● SORTED
Goal:Rearrange all elements in ascending order using selection sort.
1
4
2
3
8
5
7
6
ELEMENTS
READOUT
step0 / 32
comparisons0
swaps0
statusIDLE