01Chapter 1: Streams: One Pass, Unknown Length, Limited MemoryThis chapter assumes you can read Python loops and iterators, know what a uniform distribution and independent events are, and can follow Big-O notation. Later chapters use proof by induction.2 min read
02Chapter 2: Algorithm R: A Reservoir of k ItemsThis chapter assumes you know basic Python, conditional probability, Big-O notation, and proof by induction. It extends the one-item reservoir to k items.2 min read