Optimal Time Random Access to Grammar-Compressed Strings in Small Space
Patrick Hagge Cording

TL;DR
This paper introduces a space-efficient data structure for random access in grammar-compressed strings, achieving optimal query times for polynomially compressible strings.
Contribution
It presents a novel data structure that supports fast random access to grammar-compressed strings using small space, with optimal query time for certain compression regimes.
Findings
Supports accessing any position in O(log_Δ N) time
Uses O(nΔ log_Δ (N/n) log N) bits of space
Optimal for polynomially compressible strings where n=O(N^{1-ε})
Abstract
The random access problem for compressed strings is to build a data structure that efficiently supports accessing the character in position of a string given in compressed form. Given a grammar of size compressing a string of size , we present a data structure using bits of space that supports accessing position in time for . The query time is optimal for polynomially compressible strings, i.e., when .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · semigroups and automata theory
