English

Internal Quasiperiod Queries

Data Structures and Algorithms 2020-07-28 v1

Abstract

Internal pattern matching requires one to answer queries about factors of a given string. Many results are known on answering internal period queries, asking for the periods of a given factor. In this paper we investigate (for the first time) internal queries asking for covers (also known as quasiperiods) of a given factor. We propose a data structure that answers such queries in O(lognloglogn)O(\log n \log \log n) time for the shortest cover and in O(logn(loglogn)2)O(\log n (\log \log n)^2) time for a representation of all the covers, after O(nlogn)O(n \log n) time and space preprocessing.

Keywords

Cite

@article{arxiv.2007.13471,
  title  = {Internal Quasiperiod Queries},
  author = {Maxime Crochemore and Costas Iliopoulos and Jakub Radoszewski and Wojciech Rytter and Juliusz Straszyński and Tomasz Waleń and Wiktor Zuba},
  journal= {arXiv preprint arXiv:2007.13471},
  year   = {2020}
}

Comments

To appear in the SPIRE 2020 proceedings

R2 v1 2026-06-23T17:25:41.050Z