A Systematic Approach to Sequential Algorithms: Full-Color Edition
This book presents the classical algorithms of computer science from two complementary perspectives. The first is
the traditional one-greedy choices, divide-and-conquer recursions, dynamic-programming tables, augmenting paths.
The second recasts each problem as the search for an extremal element of a distributive lattice that satisfies a
lattice-linear predicate. From this single, unifying viewpoint, the book derives algorithms for sorting, graph
traversal, shortest paths, minimum spanning trees, dynamic programming, network flow, bipartite matching, stable
matching, housing allocation, assignment, satisfiability, number theory, and more.
The lattice-search formulation makes correctness proofs shorter, exposes natural parallelism, and turns
algorithmic design into a systematic activity: identify the lattice, write down the predicate, check lattice-
linearity, and read off the advance rule. Every algorithm in the book ships as runnable code on a companion
website-in Java, Python, C++, and JavaScript-together with interactive demos that step through each LLP loop on
small concrete instances. A solution manual is available to instructors on request.