Skip to main content
Top

2011 | OriginalPaper | Chapter

Dynamic Range Majority Data Structures

Authors : Amr Elmasry, Meng He, J. Ian Munro, Patrick K. Nicholson

Published in: Algorithms and Computation

Publisher: Springer Berlin Heidelberg

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Given a set

P

of

n

coloured points on the real line, we study the problem of answering range

α

-majority (or “heavy hitter”) queries on

P

. More specifically, for a query range

Q

, we want to return each colour that is assigned to more than an

α

-fraction of the points contained in

Q

. We present a new data structure for answering range

α

-majority queries on a dynamic set of points, where

α

 ∈ (0,1). Our data structure uses

O

(

n

) space, supports queries in

$O((\lg n) / \alpha)$

time, and updates in

$O((\lg n) / \alpha)$

amortized time. If the coordinates of the points are integers, then the query time can be improved to

$O(\lg n / (\alpha \lg \lg n))$

. For constant values of

α

, this improved query time matches an existing lower bound, for any data structure with polylogarithmic update time. We also generalize our data structure to handle sets of points in

d

-dimensions, for

d

 ≥ 2, as well as dynamic arrays, in which each entry is a colour.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadata
Title
Dynamic Range Majority Data Structures
Authors
Amr Elmasry
Meng He
J. Ian Munro
Patrick K. Nicholson
Copyright Year
2011
Publisher
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-25591-5_17

Premium Partner