Abstract
Minimizers sampling is one of the most widely-used mechanisms for sampling strings. Let S=S[0]…S[n-1] be a string over an alphabet Σ. Further, let w≥2 and k≥1 be two integers and ρ=(Σk,≤) be a total order on Σk. The minimizer of window X=S[i..i+w+k-2] is the smallest position in [i,i+w-1] where the smallest length-k substring of X based on ρ starts. The set of minimizers for all i∈[0,n-w-k+1] is the set Mw,k,ρ(S) of the minimizers of S. The set Mw,k,ρ(S) can be computed in O(n) time. The folklore algorithm computes the minimizer of every window in O(1) amortized time using O(w) working space. It is thus natural to pose the following two questions: Can we efficiently support other dynamic updates on the window?Can we improve on theO(w)working space? Can we efficiently support other dynamic updates on the window? Can we improve on theO(w)working space? We answer both questions in the affirmative: We term a string Xsemi-dynamic when one is allowed to insert or delete a letter at any of its ends. We show a data structure that maintains a semi-dynamic string X and supports minimizer queries in X in O(1) time with O(1) amortized time per update operation.We show that this data structure can be modified to occupy strongly sublinear space without increasing the time complexity of its operations. To the best of our knowledge, this yields the first algorithm for computing Mw,k,ρ(S) in O(n) time usingO(w)working space. We term a string Xsemi-dynamic when one is allowed to insert or delete a letter at any of its ends. We show a data structure that maintains a semi-dynamic string X and supports minimizer queries in X in O(1) time with O(1) amortized time per update operation. We show that this data structure can be modified to occupy strongly sublinear space without increasing the time complexity of its operations. To the best of our knowledge, this yields the first algorithm for computing Mw,k,ρ(S) in O(n) time usingO(w)working space.
| Original language | English |
|---|---|
| Title of host publication | Fundamentals of Computation Theory |
| Subtitle of host publication | 25th International Symposium, FCT 2025, Wrocław, Poland, September 15–17, 2025, Proceedings |
| Editors | Artur Jez, Jan Otop |
| Publisher | Springer Nature Switzerland AG |
| Pages | 434-447 |
| Number of pages | 14 |
| ISBN (Electronic) | 9783032047007 |
| ISBN (Print) | 9783032046994 |
| DOIs | |
| Publication status | Published - 2026 |
| Event | 25th International Symposium on Fundamentals of Computation Theory, FCT 2025 - Wroclaw, Poland Duration: 15 Sept 2025 → 17 Sept 2025 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Publisher | Springer |
| Volume | 16106 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 25th International Symposium on Fundamentals of Computation Theory, FCT 2025 |
|---|---|
| Country/Territory | Poland |
| City | Wroclaw |
| Period | 15/09/25 → 17/09/25 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Keywords
- Dynamic strings
- Minimizers
- Sampling
- String algorithms
Fingerprint
Dive into the research topics of 'Minimizers in Semi-dynamic Strings'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver