e01.org

Range minimum query

In computer science, a range minimum query (RMQ) solves the problem of finding the minimal value in a sub-array of an array of comparable objects. Range minimum queries have several use cases in computer science, such as the lowest common ancestor problem and the longest common prefix problem (LCP).

In computer science, a range minimum query (RMQ) solves the problem of finding the minimal value in a sub-array of an array of comparable objects. Range minimum queries have several use cases in computer science, such as the lowest common ancestor problem and the longest common prefix problem (LCP). ==See also== Range query (data structures) ==External links== An article on Range Minimum Queries on TopCoder Range Minimum Query article on PEGWiki / P3G Stanford CS166 RMQ introduction slides

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Range minimum query". 1786643459. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1369245529

JSON record · API collection · citation policy