2013
DOI: 10.1007/s00224-013-9455-2
|View full text |Cite
|
Sign up to set email alerts
|

Linear-Space Data Structures for Range Mode Query in Arrays

Abstract: A mode of a multiset S is an element a ∈ S of maximum multiplicity; that is, a occurs at least as frequently as any other element in S. Given an array A[1 : n] of n elements, we consider a basic problem: constructing a static data structure that efficiently answers range mode queries on A. Each query consists of an input pair of indices (i, j) for which a mode of A[i : j] must be returned. The best previous data structure with linear space, by Krizanc, Morin, and Smid (ISAAC 2003), requires O( √ n log log n) q… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

2
74
0

Year Published

2014
2014
2019
2019

Publication Types

Select...
5
2

Relationship

3
4

Authors

Journals

citations
Cited by 36 publications
(76 citation statements)
references
References 46 publications
2
74
0
Order By: Relevance
“…Using binary rank and select data structures and bit packing, Chan et al [5] reduce the range mode query time from O( √ n) to O( n/ log n) without increasing the data structure's space beyond O(n). Unlike the frequency of the mode, the frequency of the least frequent element does not vary monotonically over a sequence of elements.…”
Section: Discussionmentioning
confidence: 99%
See 3 more Smart Citations
“…Using binary rank and select data structures and bit packing, Chan et al [5] reduce the range mode query time from O( √ n) to O( n/ log n) without increasing the data structure's space beyond O(n). Unlike the frequency of the mode, the frequency of the least frequent element does not vary monotonically over a sequence of elements.…”
Section: Discussionmentioning
confidence: 99%
“…We follow the technique of Chan et al [5] to multiply two n×n boolean matrices L and R via least frequent element range queries. In particular, we build an array A of size n ∈ O(n 2 ), and after preprocessing the array in P (n ) time we perform n 2 least frequent element queries, each in Q(n ) time, to calculate M = LR.…”
Section: Reduction From Boolean Matrix Multiplicationmentioning
confidence: 99%
See 2 more Smart Citations
“…A range mode query Q = [a 1 Although the one-dimensional range query problem has received significant attention [3,8,10,9,6], only limited attention has been paid to the multi-dimensional problem. The first solution for the multi-dimensional case was proposed recently by Chan et al [3]. They gave a data structure that requires O(s n + (n/∆) 2d ) words of space and supports d-dimensional range mode queries in O(∆ · t n ) time for any ∆ ≥ 1, where s n is the space of an orthogonal range counting data structure in d dimensions with query time t n .…”
Section: Introductionmentioning
confidence: 99%