Abstract
Reconstructing input from a data structure entails determining whether an instance of the data structure is in fact valid or not, and if valid, discovering the underlying data that it represents. In this paper we consider the parameterized suffix array (pSA) along with its corresponding parameterized longest-common-prefix (pLCP) array and solve the following problem. Given two arrays of numbers as input, A and P, does there exist a parameterized string S such that A is its pSA and P is its pLCP array? If the answer is positive, our algorithm produces a string S whose pSA is A and whose pLCP array is P. Although the naive approach would have to consider an exponential number of possibilities for such a string S, our algorithm’s time complexity is only O(n2) for input arrays of size n.
Original language | English |
---|---|
Title of host publication | String Processing and Information Retrieval - 29th International Symposium, SPIRE 2022, Proceedings |
Editors | Diego Arroyuelo, Diego Arroyuelo, Barbara Poblete |
Publisher | Springer Science and Business Media Deutschland GmbH |
Pages | 55-69 |
Number of pages | 15 |
ISBN (Print) | 9783031206429 |
DOIs | |
State | Published - 2022 |
Event | 29th International Symposium on String Processing and Information Retrieval, SPIRE 2022 - Concepción, Chile Duration: 8 Nov 2022 → 10 Nov 2022 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 13617 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 29th International Symposium on String Processing and Information Retrieval, SPIRE 2022 |
---|---|
Country/Territory | Chile |
City | Concepción |
Period | 8/11/22 → 10/11/22 |
Bibliographical note
Publisher Copyright:© 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG.
Funding
A. Amir—Partially supported by Grant No. 2018141 from the United States-Israel Binational Science Foundation (BSF) and Israel Science Foundation Grant 1475-18. C. Guerra—Partially supported by BSF Grant No. 2018141. G. M. Landau—Partially supported by Grant No. 2018141 from the United States-Israel Binational Science Foundation (BSF) and Israel Science Foundation Grant 1475-18. D. Sokol—Partially supported by BSF Grant No. 2018141.
Funders | Funder number |
---|---|
Bloom's Syndrome Foundation | |
United States-Israel Binational Science Foundation | |
Israel Science Foundation | 1475-18 |
Keywords
- Longest common prefix array
- Parameterized strings
- Strings
- Suffix array