Selection Sort
Scan the unsorted region for the minimum element, then swap it into the next sorted position.
Time O(n²) | Space O(1) | Not Stable | In-place
Data
Size15
Speed800ms
default
comparing
minimum
swapping
sorted
Scan the unsorted region for the minimum element, then swap it into the next sorted position.