AbstractWe consider the following problem: Given an unsorted array of n elements, and a sequence of intervals in the array, compute the median in each of the subarrays defined by the intervals. We describe a simple algorithm which needs O(nlogk+klogn) time to answer k such median queries. This improves previous algorithms by a logarithmic factor and matches a comparison lower bound for k=O(n). The space complexity of our simple algorithm is O(nlogn) in the pointer machine model, and O(n) in the RAM model. In the latter model, a more involved O(n) space data structure can be constructed in O(nlogn) time where the time per query is reduced to O(logn/loglogn). We also give efficient dynamic variants of both data structures, achieving O(log2n) ...
Abstract. Given an array A of size n, we consider the problem of an-swering range majority queries: ...
Given an array A of size n, we consider the problem of answering range majority queries: given a que...
AbstractWe consider the general problem of (2-dimensional) range reporting allowing arbitrarily conv...
AbstractWe consider the following problem: Given an unsorted array of n elements, and a sequence of ...
We consider data structures and algorithms for preprocessing a labelled list of length n so that, fo...
Finding the position of the minimal element in a subarray A[i..j] of an array A of size n is a funda...
A mode of a multiset S is an element a in S of maximum multiplicity; that is, a occurs at least as f...
We consider the problem of preprocessing an array A[1..n] to answer range selection and range top-k ...
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 ...
The Range Next Value problem (Problem RNV) is a recent interesting variant of the range search pr...
We consider the problem of preprocessing an array A[1..n] to answer range selection and range top-k ...
We revisit the orthogonal range searching problem and the exact l_infinity nearest neighbor searchin...
In this paper we consider various encoding problems for range queries on arrays. In these problems, ...
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: ...
Given an array A of size n, we consider the problem of answering range majority queries: given a que...
AbstractWe consider the general problem of (2-dimensional) range reporting allowing arbitrarily conv...
AbstractWe consider the following problem: Given an unsorted array of n elements, and a sequence of ...
We consider data structures and algorithms for preprocessing a labelled list of length n so that, fo...
Finding the position of the minimal element in a subarray A[i..j] of an array A of size n is a funda...
A mode of a multiset S is an element a in S of maximum multiplicity; that is, a occurs at least as f...
We consider the problem of preprocessing an array A[1..n] to answer range selection and range top-k ...
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 ...
The Range Next Value problem (Problem RNV) is a recent interesting variant of the range search pr...
We consider the problem of preprocessing an array A[1..n] to answer range selection and range top-k ...
We revisit the orthogonal range searching problem and the exact l_infinity nearest neighbor searchin...
In this paper we consider various encoding problems for range queries on arrays. In these problems, ...
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: ...
Given an array A of size n, we consider the problem of answering range majority queries: given a que...
AbstractWe consider the general problem of (2-dimensional) range reporting allowing arbitrarily conv...