1 stable release
1.2.0 | Jun 9, 2024 |
---|---|
1.1.0 |
|
1.0.0 |
|
#3 in #rmq
Used in iirs
17KB
322 lines
Monolithic implementation of the Range Minimum Query (RMQ) with Extensive tabulation based on this.
Since a Sparse table is needed, it also contains its implementation and uses it for testing.
Note that both implementations return the value of the minimum in the range, and not the index of the minimum.
For the theoretical background, I did enjoy this course by Sebastian Wild.