Tags dynamic-programming

Computing Ranges in Constant Time

Range Minimum Query with Sparse Table and Dynamic Programming.