Insertion Sort

Animation Info

Quality Value
name Insertion Sort
abbr INS
runCount default 1
minimum colors 1
unlimited colors false
dimensionality ONE_DIMENSIONAL
Parameter Type Default Value Description
interMovementDelay Int 25 Delay between sorting movements

Description

Visualization of insertion sort. colors[0] is randomized, then an insertion sort isused to re-sort it.

Animation Signature

One Dimensional

Insertion Sort Signature