Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
10334738 | Theoretical Computer Science | 2005 | 14 Pages |
Abstract
We study here a problem of finding all maximal repetitions in a string of length n. We show that the problem can be solved in time O(nlogn) in the presence of constant extra space and general (unbounded) alphabets. Subsequently we show that in the model with a constant size alphabet the problem can be solved in time O(n) with a help of o(n) extra space. Previously best known algorithms require linear additional space in both models.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Leszek Ga¸sieniec, Roman Kolpakov, Igor Potapov,