An interactive encyclopedia

The Atlas of Algorithms

Watch the idea work — every algorithm through four lenses: motion, invariant, cost, and life in the wild.

Classic Foundations 26

The textbook foundations — sorting, search, graphs, trees & structures, strings, geometry, numbers, dynamic programming, compression, and the classic randomized methods — most built around an invariant that proves them correct.

Sorting 5

Searching & Selection 2

Graphs 4

Trees & Structures 2

Strings 2

Computational Geometry 2

Numerical & Number-Theoretic 3

Dynamic Programming & Optimization 2

Randomized & Probabilistic 2

Compression & Coding 2

The Modern & Advanced Wing 14

Randomized and approximate algorithms that run at scale — sketching & streaming, similarity search, spectral methods, hashing, optimization & flows. Their soul is a probabilistic guarantee, shown empirically.

Sketching & Streaming 4

Hashing Schemes 2

Similarity & High-Dimensional Search 3

Spectral Graph Theory 3

Optimization & Flows 2