Search algorithmsCTRL K
// step-by-step algorithm visualizer

Watch algorithms work, one step at a time.

Pick an algorithm, press play, and follow every comparison and swap next to the line of code that caused it. Six families, seven languages, every step on screen.

FAMILIES06
ALGORITHMS56
LANGUAGES07
PREVIEW
Sorting
quick sort · n=32

Each comparison lights two bars, each swap flashes them, and settled bars turn green. Run bubble, insertion, merge, quick and heap sort on the same input.

Open Sorting →

Families

06 / 56
Click a family to open it; the preview above rotates every 30 s
// signature

Signatures

The algorithms above, run on something real
// signature

A* on the real streets of Cascavel

Four thousand intersections from OpenStreetMap, one-way streets respected. The search glows out from the start, the route is drawn back in violet. Open it to step through A*, Dijkstra and BFS on the same route.

CITY—
INTERSECTIONS—
STREET SEGMENTS—
SOURCEOpenStreetMap
Open the real map