Title here
Summary here
The Rabin-Karp algorithm finds a pattern in text. It uses hashing to convert the pattern into a number. It converts a piece of the text too. The algorithm does not start over for each piece. It uses a rolling hash. The next number comes from the one before it. This is fast.
Once it finds a matching number, it checks the letters to prove the match is real. Sometimes the numbers match but the letters do not. This is a false match. It happens because of a hash collision.