Selection sort repeatedly finds the smallest value in the unsorted section and swaps it into the next position on the left.
Time Complexity: O(N²).
Loading bar chart…
Selection Sort bar chart showing 10 bars for value.
Values: id 34: 34.0, id 73: 73.0, id 185: 185.0, id 123: 123.0, id 176: 176.0, id 212: 212.0, id 200: 200.0, id 97: 97.0, id 83: 83.0, and id 247: 247.0.