Hi Codeforces!
I’ve recorded four videos about Range Minimum Query (RMQ) and related topics. These might be helpful for competitive programmers, especially if you’re diving into data structures or optimization techniques.
Problem statement:
You are given an array $$$a$$$ of size $$$n$$$. You are also given $$$q$$$ queries of type $$$[l, r)$$$ as a range. Each query asks for the minimum element of $$$a$$$ in the given range.
![]() | ![]() |
![]() | ![]() |