Insertion sort step

[2, 5, 8] + 6 → [2, 5, 6, 8]

You can also choose a level by clicking its number.

About the course

Description
Where the next element is inserted into the sorted part of the array
More information
Arrays are indexed from zero. Sorting is ascending (from the smallest) unless stated otherwise.
Sample question
[2, 5, 8] + 6 → [2, 5, 6, 8]
Author
Jiří Preisler
Version
1.0