Arrow Research search
Back to TCS

TCS 2019

A simple linear-space data structure for constant-time range minimum query

Journal Article journal-article Computer Science ยท Theoretical Computer Science

Abstract

We revisit the range minimum query problem and present a new O ( n ) -space data structure that supports range minimum queries in O ( 1 ) time. The goal is to construct a static data structure that efficiently supports range minimum queries on a given list A [ 0: n โˆ’ 1 ] of n items drawn from a totally ordered set. Each range minimum query consists of an input pair of indices ( i, j ) for which the minimum element of the subarray A [ i: j ] must be returned. Although previous data structures exist whose asymptotic bounds match ours, our goal is to introduce a new solution that is simple, intuitive, and practical without increasing asymptotic costs for query time or space. We analyze our new data structure theoretically and practically, the latter through an evaluation of its performance relative to implementations of four of the top range minimum query data structures.

Authors

Keywords

  • Array range query
  • Range minimum query
  • Data structures
  • Linear space
  • Constant time

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
981008781375020790
v2026.09.13