logo Practice-It logo


Language/Type: Java selection sort sorting
Author: Marty Stepp

Write the elements of the array below after each of the first 3 passes of the outermost loop of a selection sort.

int[] numbers = {63, 9, 45, 72, 27, 18, 54, 36};
after pass 1
after pass 2
after pass 3

You must log in before you can solve this problem.

Log In

If you do not understand how to solve a problem or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect problems/tests, etc.), please

Is there a problem? Contact a site administrator.