• Documents
  • Authors
  • Tables
  • Log in
  • Sign up
  • MetaCart
  • DMCA
  • Donate

CiteSeerX logo

Advanced Search Include Citations
Advanced Search Include Citations

Data Structures: Sequence Problems, Range Queries, and Fault Tolerance (2010)

by A G Jørgensen
Add To MetaCart

Tools

Sorted by:
Results 1 - 1 of 1

Linear-Space Data Structures for Range Mode Query in Arrays

by Timothy M. Chan, Stephane Durocher, Kasper Green Larsen, Jason Morrison, Bryan T. Wilkinson
"... 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 ..."
Abstract - Cited by 18 (8 self) - Add to MetaCart
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) query time. We improve their result and present an O(n)-space data structure that supports range mode queries in O ( p n / log n) worst-case time. Furthermore, we present strong evidence that a query time significantly below √ n cannot be achieved by purely combinatorial techniques; we show that boolean matrix multiplication of two √ n × √ n matrices reduces to n range mode queries in an array of size O(n). Additionally, we give linear-space data structures for orthogonal range mode in higher dimensions (queries in near O(n 1−1/2d) time) and for halfspace range mode in higher dimensions (queries in O(n 1−1/d2) time).
(Show Context)

Citation Context

...ient data structures are now known (with linear space and logarithmic or slightly sublogarithmic query time), including both static and dynamic, and both linear- and superlinear-space data structures =-=[7, 11, 12, 16, 37, 38, 41, 42, 44, 45, 47, 54, 55]-=-. In contrast, range mode queries appear more challenging than range mean and median. As expressed recently by Brodal et al. [11, page 2]: “The problem of finding the most frequent element within a gi...

Powered by: Apache Solr
  • About CiteSeerX
  • Submit and Index Documents
  • Privacy Policy
  • Help
  • Data
  • Source
  • Contact Us

Developed at and hosted by The College of Information Sciences and Technology

© 2007-2019 The Pennsylvania State University