arXiv · 1410.4701
Optimal Time Random Access to Grammar-Compressed Strings in Small Space
Abstract
The random access problem for compressed strings is to build a data structure that efficiently supports accessing the character in position $i$ of a string given in compressed form. Given a grammar of size $n$ compressing a string of size $N$, we present a data structure using $O(nΔ\log_Δ\frac N n \log N)$ bits of space that supports accessing position $i$ in $O(\log_ΔN)$ time for $Δ\leq \log^{O(1)} N$. The query time is optimal for polynomially compressible strings, i.e., when $n=O(N^{1-ε})$.
Explore related subjects
Keep this discovery
Patrick Hagge Cording. 2015-01-26. Optimal Time Random Access to Grammar-Compressed Strings in Small Space. https://arxiv.org/abs/1410.4701
Cite the original work for its findings. Save a collection to share your selection of sources.