Academic Journal

Sparse Suffix and LCP Array: Simple, Direct, Small, and Fast.

Λεπτομέρειες βιβλιογραφικής εγγραφής
Τίτλος: Sparse Suffix and LCP Array: Simple, Direct, Small, and Fast.
Συγγραφείς: Ayad, Lorraine A. K., Loukides, Grigorios, Pissis, Solon P., Verbeek, Hilde
Πηγή: Algorithmica; Jun2026, Vol. 88 Issue 3, p1-23, 23p
Περίληψη: Sparse suffix sorting is the problem of sorting b = o (n) suffixes of a string of length n. Efficient sparse suffix sorting algorithms have existed for more than a decade. Despite the multitude of works and their justified claims for applications in text indexing, the existing algorithms have not been employed by practitioners. Arguably this is because there are no simple, direct, and efficient algorithms for sparse suffix array construction. We provide two new algorithms for constructing the sparse suffix and LCP arrays that are simultaneously simple, direct, small, and fast. In particular, our algorithms are: simple in the sense that they can be implemented using only basic data structures; direct in the sense that the output arrays are not a byproduct of constructing the sparse suffix tree or an LCE data structure; fast in the sense that they run in O (n log b) time, in the worst case, or in O (n) time, when the total number of suffixes with an LCP value greater than 2 ⌊ log n b ⌋ + 1 - 1 is in O (b / log b) , matching the time of optimal yet much more complicated algorithms [Gawrychowski and Kociumaka, SODA 2017; Birenzwige et al., SODA 2020]; and small in the sense that they can be implemented using only 8 b + o (b) machine words. Our algorithms are non-trivial space-efficient adaptations of the Monte Carlo algorithm by I et al. for constructing the sparse suffix tree in O (n log b) time [STACS 2014]. We provide extensive experiments to justify our claims on simplicity and on efficiency. A preliminary version of this paper appeared in the proceedings of LATIN 2024. [ABSTRACT FROM AUTHOR]
Copyright of Algorithmica is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Βάση Δεδομένων: Complementary Index
Περιγραφή
ISSN:01784617
DOI:10.1007/s00453-026-01383-7