Rabin-Karp + brute force