Minimum jumps required to reach end of the array
def minJumps ( arr ) : NEW_LINE INDENT MAX_VALUE = sys . maxsize NEW_LINE dp = [ MAX_VALUE for i in range ( len ( arr ) ) ] NEW_LINE n = len ( dp ) NEW_LINE dp [ n - 1 ] = 0 NEW_LINE for i in range ( n - 2 , - 1 , - 1 ) : NEW_LINE DEDENT