Optimal Encodings for Range Top-k, Selection, and Min-Max
Abstract
We consider encoding problems for range queries on arrays. In these problems the goal is to store a structure capable of recovering the answer to all queries that occupies the information theoretic minimum space possible, to within lower order terms. As input, we are given an array , and a fixed parameter . A range top- query on an arbitrary range asks us to return the ordered set of indices such that is the -th largest element in , for . A range selection query for an arbitrary range and query parameter asks us to return the index of the -th largest element in . We completely resolve the space complexity of both of these heavily studied problems---to within lower order terms---for all . Previously, the constant factor in the space complexity was known only for . We also resolve the space complexity of another problem, that we call range min-max, in which the goal is to return the indices of both the minimum and maximum elements in a range.
Cite
@article{arxiv.1411.6581,
title = {Optimal Encodings for Range Top-k, Selection, and Min-Max},
author = {Pawel Gawrychowski and Patrick K. Nicholson},
journal= {arXiv preprint arXiv:1411.6581},
year = {2015}
}
Comments
24 pages: a short version of this paper will be presented at ICALP 2015