Given the following list array, use the Selection Sort algorithm to sort the array. Show each step of the selection sort process. Do not provide code; just show pictures of the list array after each element swap.
list
(original)
0 | 12 |
1 | 2 |
2 | −4 |
3 | 0 |
4 | 9 |
list
(sorted)
0 | −4 |
1 | 0 |
2 | 2 |
3 | 9 |
4 | 12 |
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.