Abstract
The Suffix Array SA(S) of a string S[1 . . . n] is an array containing all the suffixes of S sorted by lexicographic order. The suffix array is one of the most well known indexing data structures, and it functions as a key tool in many string algorithms. In this paper, we present a data structure for maintaining the Suffix Array of a dynamic string. For every 1 ≤ k ≤ n, our data structure reports SA[i] in Õ(nk) time and handles text modification in Õ(k) time. Additionally, our data structure enables the same query time for reporting iSA[i], with iSA being the Inverse Suffix Array of S[1 . . . n]. Our data structure can be used to construct sub-linear dynamic variants of static strings algorithms or data structures that are based on the Suffix Array and the Inverse Suffix Array.
Original language | English |
---|---|
Title of host publication | 31st International Symposium on Algorithms and Computation, ISAAC 2020 |
Editors | Yixin Cao, Siu-Wing Cheng, Minming Li |
Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
Pages | 631-6316 |
Number of pages | 5686 |
ISBN (Electronic) | 9783959771733 |
DOIs | |
State | Published - Dec 2020 |
Event | 31st International Symposium on Algorithms and Computation, ISAAC 2020 - Virtual, Hong Kong, China Duration: 14 Dec 2020 → 18 Dec 2020 |
Publication series
Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|
Volume | 181 |
ISSN (Print) | 1868-8969 |
Conference
Conference | 31st International Symposium on Algorithms and Computation, ISAAC 2020 |
---|---|
Country/Territory | China |
City | Virtual, Hong Kong |
Period | 14/12/20 → 18/12/20 |
Bibliographical note
Publisher Copyright:© Amihood Amir and Itai Boneh.
Funding
Partly supported by ISF grant 1475/18 and BSF grant 2018141.
Funders | Funder number |
---|---|
United States-Israel Binational Science Foundation | 2018141 |
Israel Science Foundation | 1475/18 |
Keywords
- Dynamic algorithms
- Inverse suffix array
- String algorithms
- Suffix array