3 ms·
Breaking the O(n)-Barrier in the Construction of Compressed Suffix Arrays
- belter 5y ago"The suffix array, describing the lexicographic order of suffixes of a given text, is the central data structure in string algorithms, with dozens of applications in data compression, bioinformatics, and information retrieval..." "...The suffix array of a length-n text uses Θ(nlogn) bits, which is prohibitive in many applications. To address this, Grossi and Vitter [STOC 2000] and, independently, Ferragina and Manzini [FOCS 2000] introduced space-efficient versions of the suffix array, known as the compressed suffix array (CSA) and the FM-index..." "...For a length-n text over an alphabet of size σ, these data structures use only O(nlogσ) bits. Immediately after their discovery, they almost completely replaced plain suffix arrays in practical applications, and a race started to develop efficient construction procedures ... Yet, after more than 20 years, even for σ=2, the fastest algorithm remains stuck at O(n) time [Hon et al., FOCS 2003], which is slower by a Θ(logn) factor than the lower bound of Ω(n/logn)..." "...We break this long-standing barrier with a new data structure that takes O(nlogσ) bits, answers suffix array queries in O(logϵn) time, and can be constructed in O(nlogσ/logn−−−−√) time using O(nlogσ) bits of space..." "Suffix Array" https://en.wikipedia.org/wiki/Suffix_array https://en.wikipedia.org/wiki/Suffix_array