Optimal Query Time for Encoding Range Majority

April 20, 2017 Β· Declared Dead Β· πŸ› Workshop on Algorithms and Data Structures

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"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 shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Data Structures & Algorithms

Died the same way β€” πŸ‘» Ghosted