rabin-karp Rabin–Karp ...a quick programming of Rabin-Karp since I feel like I've lost touch with the algorithm. Apparently I have lost touch since the Naive version runs faster than RK. :(