Internal shortest absent word queries in constant time and linear space

Golnaz Badkobeh, Panagiotis Charalampopoulos, Dmitry Kosolobov*, Solon P. Pissis

*Corresponding author for this work

Research output: Contribution to JournalArticleAcademicpeer-review

88 Downloads (Pure)

Abstract

Given a string T of length n over an alphabet Σ⊂{1,2,…,nO(1)} of size σ, we are to preprocess T so that given a range [i,j], we can return a representation of a shortest string over Σ that is absent in the fragment T[i]⋯T[j] of T. We present an O(n)-space data structure that answers such queries in constant time and can be constructed in O(nlogσ⁡n) time.

Original languageEnglish
Pages (from-to)271-282
Number of pages12
JournalTheoretical Computer Science
Volume922
Early online date26 Apr 2022
DOIs
Publication statusPublished - 24 Jun 2022

Bibliographical note

Funding Information:
Supported by the Israel Science Foundation grants 592/17 and 810/21.Supported by the Ministry of Science and Higher Education of the Russian Federation (Ural Mathematical Center project No. 075-02-2022-877).Supported by the ALPACA and PANGAIA projects that have received funding from the European Union's Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreements no. 956229 and no. 872539.

Publisher Copyright:
© 2022 Elsevier B.V.

Funding

Supported by the Israel Science Foundation grants 592/17 and 810/21.Supported by the Ministry of Science and Higher Education of the Russian Federation (Ural Mathematical Center project No. 075-02-2022-877).Supported by the ALPACA and PANGAIA projects that have received funding from the European Union's Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreements no. 956229 and no. 872539.

FundersFunder number
Horizon 2020 Framework Programme
Ministry of Education and Science of the Russian Federation
ALPACA
Horizon 2020
Ural Mathematical Center075-02-2022-877
Israel Science Foundation592/17, 810/21
H2020 Marie Skłodowska-Curie Actions872539, 956229

    Keywords

    • Bit parallelism
    • Internal queries
    • Shortest absent word
    • String algorithms

    Fingerprint

    Dive into the research topics of 'Internal shortest absent word queries in constant time and linear space'. Together they form a unique fingerprint.

    Cite this