Abstract
A subsequence of a word w is a word u such that u= w[ i1] w[ i2], ⋯ w[ i|u|], for some set of indices 1 ≤ i1< i2< ⋯ < ik≤ | w|. A word w is k-subsequence universal over an alphabet Σ if every word in Σk appears in w as a subsequence. In this paper, we provide new algorithms for k-subsequence universal words of fixed length n over the alphabet Σ= { 1, 2, ⋯, σ}. Letting U(n, k, σ) denote the set of n-length k-subsequence universal words over Σ, we provide: an O(nkσ) time algorithm for counting the size of U(n, k, σ) ;an O(nkσ) time algorithm for ranking words in the set U(n, k, σ) ;an O(nkσ) time algorithm for unranking words from the set U(n, k, σ) ;an algorithm for enumerating the set U(n, k, σ) with O(nσ) delay after O(nkσ) preprocessing.
Original language | English |
---|---|
Title of host publication | Combinatorics on words |
Subtitle of host publication | 14th international conference, WORDS 2023, Umeå, Sweden, June 12–16, 2023, proceedings |
Editors | Anna Frid, Robert Mercaş |
Place of Publication | Cham |
Publisher | Springer Nature Switzerland AG |
Pages | 47-59 |
Number of pages | 13 |
ISBN (Electronic) | 9783031331800 |
ISBN (Print) | 9783031331794 |
DOIs | |
Publication status | Published - 2023 |
Event | 14th International Conference on Combinatorics on Words, WORDS 2023 - Umeå, Sweden Duration: 12 Jun 2023 → 16 Jun 2023 Conference number: 14 https://dltwords2023.cs.umu.se/index.html |
Publication series
Name | Lecture notes in computer science (including subseries Lecture notes in artificial intelligence and Lecture notes in bioinformatics) |
---|---|
Publisher | Springer |
Volume | 13899 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 14th International Conference on Combinatorics on Words, WORDS 2023 |
---|---|
Abbreviated title | WORDS 2023 |
Country/Territory | Sweden |
City | Umeå |
Period | 12/06/23 → 16/06/23 |
Internet address |