Computing String Covers in Sublinear Time
Abstract
Let be a string of length over an integer alphabet of size . In the word RAM model, can be represented in space. We show that a representation of all covers of can be computed in the optimal time; in particular, the shortest cover can be computed within this time. We also design an -sized data structure that computes in time any element of the so-called (shortest) cover array of , that is, the length of the shortest cover of any given prefix of . As a by-product, we describe the structure of cover arrays of Fibonacci strings. On the negative side, we show that the shortest cover of a length- string cannot be computed using operations in the PILLAR model of Charalampopoulos, Kociumaka, and Wellnitz (FOCS 2020).
Cite
@article{arxiv.2409.14559,
title = {Computing String Covers in Sublinear Time},
author = {Jakub Radoszewski and Wiktor Zuba},
journal= {arXiv preprint arXiv:2409.14559},
year = {2024}
}
Comments
Preprint accepted to SPIRE 2024