logo Practice-It logo

sorting

Language/Type: Java merge sort selection sort sorting
Author: Marty Stepp (on 2012/03/21)

Consider the following array:

int[] numbers = {29, 17, 3, 94, 46, 8, -4, 12};
After one pass of selection sort, what would be the contents of the array?
Which one of the following statements about sorting and Big-Oh is true?

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.