Visual computer science / step by step

See the decision.
Understand the algorithm.

Animated Algorithms turns abstract procedures into guided visual lessons. Explore each state, inspect the data, and connect the animation to real code.

University

Graph

Prim's Algorithm

Grow a minimum spanning tree by choosing the cheapest safe edge.

Open interactive lesson →

University

Graph

Dijkstra's Algorithm

Discover shortest paths from one source through weighted edges.

Open interactive lesson →

University

Sorting

Merge Sort

Split, solve, and merge while watching divide-and-conquer unfold.

Lesson in development

University

Parallel

DNS Matrix Multiply

Map communication and reduction across a 3D processor grid.

Open interactive lesson →

University

Graph

Kruskal's Algorithm

Build a minimum spanning forest by comparing globally sorted edges.

Open interactive lesson →