Learning Path

Read the algorithm posts in this order. Easier ideas come first. When two ideas are about as hard, the one people meet more often comes first.

The number in a post address is the order it was published. It is not this order. The number at the start of each line is the reading order.

Start here

Seventeen posts. A scan, a hash table, one sort, walking a graph, one dynamic program, one greedy choice, the gcd, the sieve, a shuffle, and a cache.

Next

The rest of a first course: mergesort, quicksort, heaps, shortest paths, spanning trees, knapsack, and the cryptography people meet by name.

Standard course

Balanced trees, string matching, max flow, and the algorithms behind common libraries. Read these after the two bands above, or filter by the idea you need.

Later

Harder, or less often met. Read a post here when that area is the one you want.

本文由 HoHo 與 AI 協作整理,最後更新於 2026 年 11 月 20 日。