Update query time trade-off for dynamic suffix arrays

Amihood Amir, Itai Boneh

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

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 languageEnglish
Title of host publication31st International Symposium on Algorithms and Computation, ISAAC 2020
EditorsYixin Cao, Siu-Wing Cheng, Minming Li
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pages631-6316
Number of pages5686
ISBN (Electronic)9783959771733
DOIs
StatePublished - Dec 2020
Event31st International Symposium on Algorithms and Computation, ISAAC 2020 - Virtual, Hong Kong, China
Duration: 14 Dec 202018 Dec 2020

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume181
ISSN (Print)1868-8969

Conference

Conference31st International Symposium on Algorithms and Computation, ISAAC 2020
Country/TerritoryChina
CityVirtual, Hong Kong
Period14/12/2018/12/20

Bibliographical note

Publisher Copyright:
© Amihood Amir and Itai Boneh.

Funding

Partly supported by ISF grant 1475/18 and BSF grant 2018141.

FundersFunder number
United States-Israel Binational Science Foundation2018141
Israel Science Foundation1475/18

    Keywords

    • Dynamic algorithms
    • Inverse suffix array
    • String algorithms
    • Suffix array

    Fingerprint

    Dive into the research topics of 'Update query time trade-off for dynamic suffix arrays'. Together they form a unique fingerprint.

    Cite this