Range mode and range median queries on lists and trees

  • Authors:
  • Danny Krizanc;Pat Morin;Michiel Smid

  • Affiliations:
  • Wesleyan University, Mathematics Department Middletown, CT;Carleton University, School of Computer Science, Ottawa, Ontario, Canada;Carleton University, School of Computer Science, Ottawa, Ontario, Canada

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider algorithms for preprocessing labelled lists and trees so that, for any two nodes u and v we can answer queries of the form: What is the mode or median label in the sequence of labels on the path from u to v.