Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
166 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Optimal Time Random Access to Grammar-Compressed Strings in Small Space (1410.4701v4)

Published 17 Oct 2014 in cs.DS

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\Delta \log_\Delta \frac N n \log N)$ bits of space that supports accessing position $i$ in $O(\log_\Delta N)$ time for $\Delta \leq \log{O(1)} N$. The query time is optimal for polynomially compressible strings, i.e., when $n=O(N{1-\epsilon})$.

Citations (1)

Summary

We haven't generated a summary for this paper yet.