Computing Runs on a General Alphabet
arXiv:1507.01231
Abstract
We describe a RAM algorithm computing all runs (maximal repetitions) of a given string of length over a general ordered alphabet in time and linear space. Our algorithm outperforms all known solutions working in time provided , where is the alphabet size. We conjecture that there exists a linear time RAM algorithm finding all runs.
4 pages, 2 figures