Abstract
Suppose we are asked to preprocess a string 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 is the 0th-order empirical entropy of , and answers queries in $\Oh{\log^{1 + ε} n}$ time for any constant . We also show how our data structure can be made partially dynamic.
Connections
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 review
No reviews yet.
Discussion 0
Add a comment
No comments yet.