Series
How Algorithms Works
Classic algorithms explained
The building blocks of computer science — sorting, searching, string matching, graph traversal, and data structures — each explained from first principles with step-by-step examples.
-
001
Intermediate Levenshtein Distance
The edit distance that powers spell checkers, DNA alignment, and fuzzy search
- 002
- 003
-
004
Intermediate Quicksort & Partitioning
Pick a pivot, partition, recurse — the fastest sort in practice
- 005
- 006
- 007
- 008
- 009
- 010
- 011
-
012
Intermediate A* Search
Dijkstra plus a heuristic — find the shortest path by looking in the right direction
- 013
- 014
- 015
-
016
Intermediate Hash Tables & Collision Resolution
Map keys to slots — and what happens when two keys want the same one
- 017
-
018
Intermediate Consistent Hashing
Distribute keys across servers so adding or removing a node barely shuffles anything
-
019
Intermediate Quadtrees & K-D Trees
Recursively subdivide space to find nearby points without checking every one
- 020
- 021
- 022
- 023
- 024
- 025
- 026