Optimal Query Time for Encoding Range Majority
April 20, 2017 Β· Declared Dead Β· π Workshop on Algorithms and Data Structures
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Pawel Gawrychowski, Patrick K. Nicholson
arXiv ID
1704.06149
Category
cs.DS: Data Structures & Algorithms
Citations
3
Venue
Workshop on Algorithms and Data Structures
Last Checked
4 months ago
Abstract
We revisit the range $Ο$-majority problem, which asks us to preprocess an array $A[1..n]$ for a fixed value of $Ο\in (0,1/2]$, such that for any query range $[i,j]$ we can return a position in $A$ of each distinct $Ο$-majority element. A $Ο$-majority element is one that has relative frequency at least $Ο$ in the range $[i,j]$: i.e., frequency at least $Ο(j-i+1)$. Belazzougui et al. [WADS 2013] presented a data structure that can answer such queries in $O(1/Ο)$ time, which is optimal, but the space can be as much as $Ξ(n \lg n)$ bits. Recently, Navarro and Thankachan [Algorithmica 2016] showed that this problem could be solved using an $O(n \lg (1/Ο))$ bit encoding, which is optimal in terms of space, but has suboptimal query time. In this paper, we close this gap and present a data structure that occupies $O(n \lg (1/Ο))$ bits of space, and has $O(1/Ο)$ query time. We also show that this space bound is optimal, even for the much weaker query in which we must decide whether the query range contains at least one $Ο$-majority element.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Data Structures & Algorithms
π
π
The Cartographer
R.I.P.
π»
Ghosted
Route Planning in Transportation Networks
R.I.P.
π»
Ghosted
Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration
R.I.P.
π»
Ghosted
Hierarchical Clustering: Objective Functions and Algorithms
R.I.P.
π»
Ghosted
Graph Isomorphism in Quasipolynomial Time
π
π
The Cartographer
Simulation optimization: A review of algorithms and applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted