Back to Search Start Over

Range Quantile Queries: Another Virtue of Wavelet Trees

Authors :
Gagie, Travis
Puglisi, Simon J.
Turpin, Andrew
Publication Year :
2009

Abstract

We show how to use a balanced wavelet tree as a data structure that stores a list of numbers and supports efficient {\em range quantile queries}. A range quantile query takes a rank and the endpoints of a sublist and returns the number with that rank in that sublist. For example, if the rank is half the sublist's length, then the query returns the sublist's median. We also show how these queries can be used to support space-efficient {\em coloured range reporting} and {\em document listing}.<br />Comment: Added note about generalization to any constant number of dimensions.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.0903.4726
Document Type :
Working Paper
Full Text :
https://doi.org/10.1007/978-3-642-03784-9_1