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 the number of α-majorities that can exist in a subarray, assuming that query ranges are restricted to be larger than a given threshold. Using this upper bound, we generalize our range majority data structure to answer range α-majorit...
For any epsilon in (0,1), a (1+epsilon)-approximate range mode query asks for the position of an ele...
Given an array A of n elements, we wish to support queries for the most frequent and least frequent ...
Given an array A[1, n] of elements with a total order, we consider the problem of building a data st...
Abstract. Given an array A of size n, we consider the problem of an-swering range majority queries: ...
The problem of parameterized range majority asks us to preprocess a string of length n such that, gi...
We consider range queries that search for low-frequency elements (least frequent elements and α-mino...
We face the problem of designing a data structure that can report the majority within any range of a...
Abstract. We present O(n)-space data structures to support various range frequency queries on a give...
Artículo de publicación ISIWe study the problem of designing a data structure that reports the posit...
A mode of a multiset S is an element a in S of maximum multiplicity; that is, a occurs at least as f...
A mode of a multiset S is an element a ∈ S of maximum multiplicity; that is, a occurs at least as fr...
Abstract. We revisit the range minimum query problem and present a new O(n)-space data structure tha...
Given an array A [1, n ] of elements with a total order, we consider the problem of building a data ...
Given an array A[1, n] of elements with a total order, we consider the problem of building a data st...
AbstractWe consider the following problem: Given an unsorted array of n elements, and a sequence of ...
For any epsilon in (0,1), a (1+epsilon)-approximate range mode query asks for the position of an ele...
Given an array A of n elements, we wish to support queries for the most frequent and least frequent ...
Given an array A[1, n] of elements with a total order, we consider the problem of building a data st...
Abstract. Given an array A of size n, we consider the problem of an-swering range majority queries: ...
The problem of parameterized range majority asks us to preprocess a string of length n such that, gi...
We consider range queries that search for low-frequency elements (least frequent elements and α-mino...
We face the problem of designing a data structure that can report the majority within any range of a...
Abstract. We present O(n)-space data structures to support various range frequency queries on a give...
Artículo de publicación ISIWe study the problem of designing a data structure that reports the posit...
A mode of a multiset S is an element a in S of maximum multiplicity; that is, a occurs at least as f...
A mode of a multiset S is an element a ∈ S of maximum multiplicity; that is, a occurs at least as fr...
Abstract. We revisit the range minimum query problem and present a new O(n)-space data structure tha...
Given an array A [1, n ] of elements with a total order, we consider the problem of building a data ...
Given an array A[1, n] of elements with a total order, we consider the problem of building a data st...
AbstractWe consider the following problem: Given an unsorted array of n elements, and a sequence of ...
For any epsilon in (0,1), a (1+epsilon)-approximate range mode query asks for the position of an ele...
Given an array A of n elements, we wish to support queries for the most frequent and least frequent ...
Given an array A[1, n] of elements with a total order, we consider the problem of building a data st...