Rabin-Karp Algorithm

Use Hash Function to generate Hash value, then rolling to find the matching string.

image.png