Papers
Topics
Authors
Recent
Search
2000 character limit reached

Counting Colours in Compressed Strings

Published 15 Nov 2010 in cs.DS | (1011.3480v1)

Abstract: Suppose we are asked to preprocess a string (s [1..n]) such that later, given a substring's endpoints, we can quickly count how many distinct characters it contains. In this paper we give a data structure for this problem that takes (n H_0 (s) + \Oh{n} + \oh{n H_0 (s)}) bits, where (H_0 (s)) is the 0th-order empirical entropy of $s$, and answers queries in $\Oh{\log{1 + \epsilon} n}$ time for any constant (\epsilon > 0). We also show how our data structure can be made partially dynamic.

Citations (9)

Summary

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.