RMQ Dynamic Programming Solution

Dynamic Programming Solution

Source Code

RMQ DP Source Code

Further information:

Topcoder Tutorial