Range Majorities and Minorities in Arrays
Djamal Belazzougui, Travis Gagie, J. Ian Munro, Gonzalo Navarro and, Yakov Nekrich

TL;DR
This paper presents a linear-space data structure for parameterized range majority and minority problems in arrays, achieving optimal query time even with variable thresholds and providing compressed space solutions based on symbol frequencies.
Contribution
First linear-space solution with optimal $O(1/\tau)$ query time for range majority/minority with variable thresholds, improving previous bounds.
Findings
Achieves optimal $O(1/\tau)$ query time with linear space.
Provides compressed space solutions based on symbol frequencies.
Extends results to range minority problem with similar bounds.
Abstract
Karpinski and Nekrich (2008) introduced the problem of parameterized range majority, which asks us to preprocess a string of length such that, given the endpoints of a range, one can quickly find all the distinct elements whose relative frequencies in that range are more than a threshold . Subsequent authors have reduced their time and space bounds such that, when is fixed at preprocessing time, we need either space and optimal query time or linear space and query time, where is the alphabet size. In this paper we give the first linear-space solution with optimal query time, even with variable (i.e., specified with the query). For the case when is polynomial on the computer word size, our space is optimally compressed according to the symbol frequencies in the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
