An algorithm for finding all repetitions (1984)

by M Rabin
Venue:Combinatorial Algorithms on Words