Uses hashing to quickly compare substrings and detect a pattern in a text, allowing average O(n) search.
Explain code with DocComment! Try out your own code!