1. Repeat the previous two exercises for the array 80 90 70 85 60 40.
2. How would you change the selection sort algorithm to sort in descending order?
3. Consider the array of integers 50 20 60 80 40. Trace the steps of a selection sort as it sorts this array into descending order. Write the array contents every time two integers are swapped.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here