Problem B13 · Easy

Insertion Sort: Grow a Sorted Prefix

Sort an array by inserting each new value into the already sorted prefix.

Open the interactive visualisation