2013
DOI: 10.1016/j.ic.2012.10.011
|View full text |Cite
|
Sign up to set email alerts
|

Range majority in constant time and linear space

Abstract: Given an array A of size n, we consider the problem of answering range majority queries:given a query range [i.. j] where 1 i j n, return the majority element of the subarray A[i.. j] if it exists. We describe a linear space data structure that answers range majority queries in constant time. We further generalize this problem by defining range α-majority queries: given a query range [i.. j], return all the elements in the subarray A[i.. j] with frequency greater than α( j − i + 1). We prove an upper bound on … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
16
0

Year Published

2013
2013
2019
2019

Publication Types

Select...
5

Relationship

2
3

Authors

Journals

citations
Cited by 15 publications
(16 citation statements)
references
References 21 publications
0
16
0
Order By: Relevance
“…As observed by Durocher et al [6], for every query range [i, j] there exists a unique level k in the tree such that [i, j] contains at least one and at most two consecutive blocks in T (k), and, if [i, j] contains two blocks, then the nodes representing these blocks are not siblings in the tree T . Thus, based on our quadruple decomposition, for every query range [i, j] we can associate it with…”
Section: Quadruple Decompositionmentioning
confidence: 99%
See 4 more Smart Citations
“…As observed by Durocher et al [6], for every query range [i, j] there exists a unique level k in the tree such that [i, j] contains at least one and at most two consecutive blocks in T (k), and, if [i, j] contains two blocks, then the nodes representing these blocks are not siblings in the tree T . Thus, based on our quadruple decomposition, for every query range [i, j] we can associate it with…”
Section: Quadruple Decompositionmentioning
confidence: 99%
“…The upper bound makes use of the quadruple decomposition of Durocher et al [6]. For ease of description, we assume that n is a power of 2, but note that decomposition works in general.…”
Section: Quadruple Decompositionmentioning
confidence: 99%
See 3 more Smart Citations