1. Here is the array of 10 integers:(20%)
5 3 8 9 1 7 0 2 6 4.
We will sort the integers from smallest to largest. Please draw this array after the FIRST iteration of the large loop using (a) insertion sort; (b) selection sort.
1. Here is the array of 10 integers:(20%)
5 3 8 9 1 7 0 2 6 4.
We will sort the integers from smallest to largest. Please draw this array after the FIRST iteration of the large loop using (a) insertion sort; (b) selection sort.