Efficient randomlzed pattern matching algorithms (1981)

by R M Karp, M O Rabin