A Lower Bound on the Complexity of Orthogonal Range Queries
- 1 October 1981
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 28 (4) , 696-705
- https://doi.org/10.1145/322276.322281
Abstract
Let S be an arbitrary commutaUve semigroup (set of elements closed under a commutative and associative addmon operation, +). Given a set of records wtth d-dimensional key vectors over an ordered key space, such that each record has associated with it a value in S, an orthogonal range query is a request for the sum of the values associated with each record in some specified hypercube (cross product of mtervals). Data structures which accommodate inserUons and delettons of records and orthogonal range queries, such that an arbitrary sequence of n such operations takes time O(n(log n)a), have been presented by G. Lueker and D. Wdlard. It is shown here that fi(n(logn) ~) is a lower bound on the inherent worst case time reqmred to process a sequence of n intermixed insemons, deleuons, and range queries, which imphes that the Lueker and Wdlard data structures are in some sense optimal.Keywords
This publication has 2 references indexed in Scilit:
- The Complexity of Maintaining an Array and Computing Its Partial SumsJournal of the ACM, 1982
- Lower Bounds on the Complexity of Some Optimal Data StructuresSIAM Journal on Computing, 1981