Skip to the task
Layout
Back to classic view

You are looking at lesson 6. Your place is still lesson 5, task 1: Functions.

CHECKTask 22 of 28 · step 9: Drills: check yourself

After the first sorting step

What is the array 9 3 7 1 5 after the first step of selection sort (i = 0)?

Stuck?

1 3 7 9 5: the smallest, 1, is swapped with t[0], and 9 lands in its place.