01Chapter 1: The Problem: Why Naive Substring Search Is SlowThis chapter assumes you can write basic Python, index and slice strings, read Big-O notation, and use the % operator. It also assumes you know what a hash function does in general: it maps data to a number.2 min read
02Chapter 2: Putting It Together: The Rabin-Karp AlgorithmThis chapter assumes you already know the polynomial hash and the rolling update from the previous chapter. It also assumes you are comfortable with Big-O notation and Python's % operator.2 min read