If a part of this segment overlaps with the given range
int mid = ( ss + se ) / 2 ; return Math . max ( RMQUtil ( ss , mid , qs , qe , 2 * index ) , RMQUtil ( mid , se , qs , qe , 2 * index + 1 ) ) ; }