logo CodeStepByStep logo

selection_sort_numbers

Language/Type: Python sorting selection sort
Related Links:

Consider the following list. After a single pass of the selection sort algorithm (a single swap), what would be the state of the list?

numbers = [29, 17, 3, 94, 46, 8, -4, 12]
list state

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.