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 language | English |
|---|---|
| Pages (from-to) | 271-282 |
| Number of pages | 12 |
| Journal | Theoretical Computer Science |
| Volume | 922 |
| Early online date | 26 Apr 2022 |
| DOIs | |
| Publication status | Published - 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.
| Funders | Funder number |
|---|---|
| Horizon 2020 Framework Programme | |
| Ministry of Education and Science of the Russian Federation | |
| ALPACA | |
| Horizon 2020 | |
| Ural Mathematical Center | 075-02-2022-877 |
| Israel Science Foundation | 592/17, 810/21 |
| H2020 Marie Skłodowska-Curie Actions | 872539, 956229 |
Keywords
- Bit parallelism
- Internal queries
- Shortest absent word
- String algorithms