AntInLoop

Insertion Sort Game — Shift & Insert Stable Sorting Challenge

Compare the active key against the sorted prefix to decide Shift Right vs. Insert while preserving duplicate stability.

Time Complexity: O(n^2)

Study the algorithm · Watch Visualizer · All Algorithm Games