comefrom: <garvit244>53_1.py
code: def maxSubArray( nums):
      if not nums:
          return 0
      
      currSum, result = nums[0], nums[0]
      
      for index in range(1, len(nums)):
          currSum = max(nums[index], currSum+nums[index])
          result = max(result, currSum)
      
      return result
masked: def sample_funcname ( var_0 ) :
      if not var_0 :
          return 0
      var_2 , var_3 = var_0 [ 0 ] , var_0 [ 0 ]
      for var_7 in range ( 1 , len ( var_0 ) ) :
          var_2 = max ( var_0 [ var_7 ] , var_2 + var_0 [ var_7 ] )
          var_3 = max ( var_3 , var_2 )
      return var_3
  