ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
WordRangeMinimum.h

The engineered range minimum query, beyond the book. More...

Files

file  ADS/search/WordRangeMinimum.h
 The engineered range minimum query, beyond the book [see RangeMinimum.h for the sparse table and the solution of Bender and Farach-Colton]: the place of the leftmost minimum of \( A[ i .. j ] \), in \( O( 1 ) \) time with a few accesses to the memory and \( O( n ) \) words of space.

Classes

class  ADS::WordRangeMinimum< T, Compare >
 the leftmost minima of the ranges of an array, by the order less() More...

Detailed description

The engineered range minimum query, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of searching.