Opportunistic data structures for range queries

  • Authors:
  • Chung Keung Poon;Wai Keung Yiu

  • Affiliations:
  • Department of Computer Science, City University of Hong Kong;Department of Computer Science, City University of Hong Kong

  • Venue:
  • COCOON'05 Proceedings of the 11th annual international conference on Computing and Combinatorics
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we study the problem of supporting range sum queries on a compressed sequence of values. For a sequence of nk-bit integers, k ≤ O(log n), our data structures require asymptotically the same amount of storage as the compressed sequence if compressed using the Lempel-Ziv algorithm. The basic structure supports range sum queries in O(log n) time. With an increase by a constant factor in the storage complexity, the query time can be improved to $O(\frac{\log\log n}{\log\log\log n} + k)$.