Algomination
SortingSearchingData StructuresAboutContact

Algomination

Learn algorithms and data structures through smooth, interactive visualizations.

SortingSearchingData StructuresAboutContact

© 2026Algomination. Created by Omang Rawat & Rahul Soni.

Omang Rawat
Rahul Soni
All sorting algorithms

Insertion Sort

Time O(n²)Space O(1)

Builds a sorted prefix by inserting each new element into its correct spot.

6
2
9
1
7
3
8
Starting Insertion Sort. The first element is a sorted prefix.
Step 1 / 36
SortedKey / ActiveComparingSwapping