01Chapter 1: The problem: counting items in a stream with limited memoryThis chapter assumes basic Python, hash functions, hash tables, Big-O notation, and basic probability. You should understand that a hash function maps an item to an integer, usually an array position.1 min read
02Chapter 2: Why the estimate can only be too highAssume you know basic Python, hash functions, Big-O notation, and expected value. A count-min sketch handles non-negative stream updates, such as event counts.1 min read
03Chapter 3: Choosing hash functions: pairwise independenceAssume basic Python, hash tables, probability, and Big-O notation. A count-min sketch needs one hash function per row. A good family of hash functions makes collisions predictable rather than adversarial.2 min read