<qiyuangong>053_Maximum_Subarray_2.py
def maxSubArray( nums):
    ls = len(nums)
    start, all = nums[-1], nums[-1]
    for i in reversed(range(ls - 1)):
        start = max(nums[i], nums[i] + start)
        all = max(start, all)
    return all
def sample_funcname ( var_0 ) :
    var_2 = len ( var_0 )
    var_4 , var_5 = var_0 [ - 1 ] , var_0 [ - 1 ]
    for var_8 in reversed ( range ( var_2 - 1 ) ) :
        var_4 = max ( var_0 [ var_8 ] , var_0 [ var_8 ] + var_4 )
        var_5 = max ( var_4 , var_5 )
    return var_5
