Linear Time Runs over General Ordered Alphabets
Data Structures and Algorithms
2021-02-18 v1
Abstract
A run in a string is a maximal periodic substring. For example, the string contains the runs and . There are less than runs in any length- string, and computing all runs for a string over a linearly-sortable alphabet takes time (Bannai et al., SODA 2015). Kosolobov conjectured that there also exists a linear time runs algorithm for general ordered alphabets (Inf. Process. Lett. 2016). The conjecture was almost proven by Crochemore et al., who presented an time algorithm (where is the extremely slowly growing inverse Ackermann function). We show how to achieve time by exploiting combinatorial properties of the Lyndon array, thus proving Kosolobov's conjecture.
Cite
@article{arxiv.2102.08670,
title = {Linear Time Runs over General Ordered Alphabets},
author = {Jonas Ellert and Johannes Fischer},
journal= {arXiv preprint arXiv:2102.08670},
year = {2021}
}
Comments
This work has been submitted to ICALP 2021