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

preprint2015arXivOpen access

Abstract

The random access problem for compressed strings is to build a data structure that efficiently supports accessing the character in position ii of a string given in compressed form. Given a grammar of size nn compressing a string of size NN, we present a data structure using O(nΔlog⁡ΔNnlog⁡N)O(nΔ\log_Δ\frac N n \log N) bits of space that supports accessing position ii in O(log⁡ΔN)O(\log_ΔN) time for Δ≤log⁡O(1)NΔ\leq \log^{O(1)} N. The query time is optimal for polynomially compressible strings, i.e., when n=O(N1−ε)n=O(N^{1-ε}).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.