Succinct Indexable Dictionaries with Applications to Encoding $k$-ary Trees, Prefix Sums and Multisets
Abstract
We consider the {\it indexable dictionary} problem, which consists of storing a set for some integer , while supporting the operations of , which returns the number of elements in that are less than if , and -1 otherwise; and which returns the -th smallest element in . We give a data structure that supports both operations in O(1) time on the RAM model and requires bits to store a set of size , where is the minimum number of bits required to store any -element subset from a universe of size . Previous dictionaries taking this space only supported (yes/no) membership queries in O(1) time. In the cell probe model we can remove the additive term in the space bound, answering a question raised by Fich and Miltersen, and Pagh. We present extensions and applications of our indexable dictionary data structure, including: An information-theoretically optimal representation of a -ary cardinal tree that supports standard operations in constant time, A representation of a multiset of size from in bits that supports (appropriate generalizations of) and operations in constant time, and A representation of a sequence of non-negative integers summing up to in bits that supports prefix sum queries in constant time.
Keywords
Cite
@article{arxiv.0705.0552,
title = {Succinct Indexable Dictionaries with Applications to Encoding $k$-ary Trees, Prefix Sums and Multisets},
author = {Rajeev Raman and Venkatesh Raman and Srinivasa Rao Satti},
journal= {arXiv preprint arXiv:0705.0552},
year = {2011}
}