Subsequence covers of words

Panagiotis Charalampopoulos, Solon P. Pissis*, Jakub Radoszewski, Wojciech Rytter, Tomasz Waleń, Wiktor Zuba

*Corresponding author for this work

Research output: Contribution to JournalArticleAcademicpeer-review

Abstract

We introduce subsequence covers (s-covers, in short), a new type of covers of a word. A word C is an s-cover of a word S if the occurrences of C in S as subsequences cover all the positions in S. The s-covers seem to be computationally much harder than standard covers of words (cf. Apostolico et al. (1991) [1]), but, on the other hand, much easier than the related shuffle powers (Warmuth and Haussler (1984) [6]). We give a linear-time algorithm for testing if a candidate word C is an s-cover of a word S over a polynomially-bounded integer alphabet. We also give an algorithm for finding a shortest s-cover of a word S, which in the case of a constant-sized alphabet, also runs in linear time. The words without proper s-cover are called s-primitive. We complement our algorithmic results with explicit lower and an upper bound on the length of a longest s-primitive word. Both bounds are exponential in the size of the alphabet. The upper bound presented here improves the bound given in the conference version of this paper [SPIRE 2022].

Original languageEnglish
Article number115216
Pages (from-to)1-14
Number of pages14
JournalTheoretical Computer Science
Volume1041
Early online date3 Apr 2025
DOIs
Publication statusPublished - 7 Jul 2025

Bibliographical note

Publisher Copyright:
© 2025

Keywords

  • Combinatorics on words
  • Covers
  • Shuffle powers
  • Subsequence
  • Text algorithms

Fingerprint

Dive into the research topics of 'Subsequence covers of words'. Together they form a unique fingerprint.
  • Subsequence Covers of Words

    Charalampopoulos, P., Pissis, S. P., Radoszewski, J., Rytter, W., Waleń, T. & Zuba, W., 2022, String Processing and Information Retrieval: 29th International Symposium, SPIRE 2022, Concepción, Chile, November 8–10, 2022, Proceedings. Arroyuelo, D. & Poblete, B. (eds.). Springer Science and Business Media Deutschland GmbH, p. 3-15 13 p. (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); vol. 13617 LNCS).

    Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

    Open Access
    File
    130 Downloads (Pure)

Cite this