Abstract
A subsequence of a word w is a word u that can be obtained by deleting some letters from w while maintaining the relative order of the remaining letters, e.g., lala is a subsequence of alfalfa. A word, over some alphabet Σ, which has all possible words of length ι over Σ as subsequences is called ι-universal, and the largest ι for which this holds is called the universality index of w, and denoted ι(w). Moreover, words that are not subsequences of w are called absent subsequences (AS) of w, and their investigation was started in (Kosche et al., 2022). In this paper, we present tight bounds on the number of AS of a given length k among all words with the same universality index ι. For both the lower and upper bound, we construct words that have, respectively, a minimal and maximal number of absent subsequences of the respective length k, and, in the case of the lower bound, we provide the exact number of missing subsequences as a closed form. Finally, we present efficient enumeration algorithms for the set of subsequences of given length of a word: we give a novel, optimal enumeration algorithm with output linear delay of this set of subsequences, with preprocessing time O(|w|), which is further improved to an incremental enumeration algorithm with O(1) delay of this set of subsequences, with preprocessing time O(|w|).
| Original language | English |
|---|---|
| Title of host publication | Fundamentals of computation theory |
| Subtitle of host publication | 25th international symposium, FCT 2025, proceedings |
| Editors | Artur Jez, Jan Otop |
| Place of Publication | Cham |
| Publisher | Springer Nature Switzerland AG |
| Pages | 15-29 |
| Number of pages | 15 |
| ISBN (Electronic) | 9783032047007 |
| ISBN (Print) | 9783032046994 |
| DOIs | |
| Publication status | Published - 23 Sept 2025 |
| Event | 25th International Symposium on Fundamentals of Computation Theory - University of Wroclaw, Wroclaw, Poland Duration: 15 Sept 2025 → 17 Sept 2025 https://fct2025.cs.uni.wroc.pl/ |
Publication series
| Name | Lecture notes in computer science |
|---|---|
| Publisher | Springer |
| Volume | 16106 |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 25th International Symposium on Fundamentals of Computation Theory |
|---|---|
| Abbreviated title | FCT 2025 |
| Country/Territory | Poland |
| City | Wroclaw |
| Period | 15/09/25 → 17/09/25 |
| Internet address |