comefrom: <qiyuangong>053_Maximum_Subarray_1.py
code: def maxSubArray( nums):
      ls = len(nums)
      start = [0] * ls
      all = [0] * ls
      start[-1], all[-1] = nums[-1], nums[-1]
      for i in reversed(range(ls - 1)):
          start[i] = max(nums[i], nums[i] + start[i + 1])
          all[i] = max(start[i], all[i + 1])
      return all[0]
masked: def sample_funcname ( var_0 ) :
      var_2 = len ( var_0 )
      var_4 = [ 0 ] * var_2
      var_5 = [ 0 ] * var_2
      var_4 [ - 1 ] , var_5 [ - 1 ] = var_0 [ - 1 ] , var_0 [ - 1 ]
      for var_9 in reversed ( range ( var_2 - 1 ) ) :
          var_4 [ var_9 ] = max ( var_0 [ var_9 ] , var_0 [ var_9 ] + var_4 [ var_9 + 1 ] )
          var_5 [ var_9 ] = max ( var_4 [ var_9 ] , var_5 [ var_9 + 1 ] )
      return var_5 [ 0 ]
  