Rabin–Karp search
Find where a word is hiding in a text. For example, кот occurs twice in кот и котик. A number for each piece tells us where to check the letters.
Slide a pattern-sized window over the text. Remove the left character and add the right one to update its hash. When hashes match, compare the characters to rule out collisions.