![]() |
VOOZH | about |
The array range query problem can be defined as follows:
Given an array of numbers, the array range query problem is to build a data structure that can efficiently answer queries of a particular type mentioned in terms of an interval of the indices.
The specific query can be of type - maximum element in the given range, most frequent element in the given range or queries like these.
Array range queries can be classified based on the type of input provided and on the type of output:
Quick Links :