LP Duality

Every optimization problem has a shadow problem whose optimum is the same number, and it certifies your answer: the only post in the series about proving your...

Max-Flow Min-Cut

The bottleneck equals the capacity, exactly. A duality result you can see, and the workhorse behind matching and segmentation.

Linearizability

The correctness condition for concurrent objects, and how it differs from serializability (Conflict serializability and two-phase locking) and sequential...

Mutual Exclusion Without Hardware Support

Peterson's algorithm and Lamport's bakery. Correct mutual exclusion from plain reads and writes, and why modern hardware still breaks it (see Memory models and...