RMQ Segment Tree Solution

Segment Tree Solution

Source Code

RMQ Segment Tree Source Code

Further information:

Topcoder Tutorial