One bubble sort pass

[4, 1, 3, 2] → [1, 3, 2, 4]

You can also choose a level by clicking its number.

About the course

Description
What the array looks like after one pass of bubble sort
More information
Arrays are indexed from zero. Sorting is ascending (from the smallest) unless stated otherwise.
Sample question
[4, 1, 3, 2] → [1, 3, 2, 4]
Author
Jiří Preisler
Version
1.0