#rmq #tabulation #sparse-table

rmq-tabulation

Rmq using extensive tabulation

1 stable release

1.2.0 Jun 9, 2024
1.1.0 Jun 9, 2024
1.0.0 Jun 9, 2024


Used in iirs

GPL-3.0 license

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.

No runtime deps