<qiyuangong>213_House_Robber_II_2.py
def rob_helper( nums, low, high):
    prevMax = currMax = 0
    for index in range(low, high + 1):
        temp = currMax
        currMax = max(prevMax + nums[index], currMax)
        prevMax = temp
    return currMax
def sample_funcname ( var_0 , var_1 , var_2 ) :
    var_5 = var_3 = 0
    for var_8 in range ( var_1 , var_2 + 1 ) :
        var_9 = var_3
        var_3 = max ( var_5 + var_0 [ var_8 ] , var_3 )
        var_5 = var_9
    return var_3
