Skip to content

Karp-Rabin

First filter algorithm using an hashing function. It works in O(mn)O(mn)-time complexity but has an O(n+m)O(n + m) expected running time.

Appeared in: