Range Minimum query using segment tree [O(log N) update + O(log N) query]


This is a companion discussion topic for the original entry at http://iq.opengenus.org/range-minimum-query-segment-tree/