We then select the next smallest element in the array, which is 3. 3 is already in the correct position, so we don't need to swap it. We then select the next smallest element in the array, which is 4.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results