4.4 Article

THE RUNS THEOREM

Journal

SIAM JOURNAL ON COMPUTING
Volume 46, Issue 5, Pages 1501-1514

Publisher

SIAM PUBLICATIONS
DOI: 10.1137/15M1011032

Keywords

maximal repetitions; Lyndon words; combinatorics on words; string algorithms

Funding

  1. JSPS KAKENHI [25280086, 16H02783, 26280003, 25240003]
  2. Grants-in-Aid for Scientific Research [17H06923, 17H01697, 25280086, 26280003, 16K16009, 16H02783, 16H02870] Funding Source: KAKEN

Ask authors/readers for more resources

We give a new characterization of maximal repetitions (or runs) in strings based on Lyndon words. The characterization leads to a proof of what was known as the runs conjecture [R. M. Kolpakov and G. Kucherov, Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS), IEEE Computer Society, Los Alamitos, CA, 1999, pp. 596-604]), which states that the maximum number of runs rho(n) in a string of length n is less than n. The proof is remarkably simple, considering the numerous endeavors to tackle this problem in the last 15 years, and significantly improves our understanding of how runs can occur in strings. In addition, we obtain an upper bound of 3n for the maximum sum of exponents sigma(n) of runs in a string of length n, improving on the best known bound of 4.1n by Crochemore et al. [J. Discrete Algorithms, 14 (2012), pp. 29-36], as well as other improved bounds on related problems. The characterization also gives rise to a new, conceptually simple linear-time algorithm for computing all the runs in a string. A notable characteristic of our algorithm is that, unlike all existing linear-time algorithms, it does not utilize the Lempel-Ziv factorization of the string. We also establish a relationship between runs and nodes of the Lyndon tree, which gives a simple optimal solution to the 2-period query problem that was recently solved by Kociumaka et al.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.4
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available