comefrom: <awangdev>53. Maximum Subarray_10.java
code: public int maxSubArray(int[] nums) {
          if (nums == null || nums.length == 0) return 0;
          int preSum = 0, minPreSum = 0;
          int max = Integer.MIN_VALUE;
          for (int num : nums) {
              preSum += num;
              max = Math.max(max, preSum - minPreSum);
              minPreSum = Math.min(minPreSum, preSum);
          }
          return max;
      }
masked: public int sample_funcname ( int [ ] var_0 ) {
    if ( var_0 == null || var_0 . length == 0 ) return 0 ;
    int var_1 = 0 , var_2 = 0 ;
    int max = Integer . MIN_VALUE ;
    for ( int var_3 : var_0 ) {
      var_1 += var_3 ;
      max = Math . max ( max , var_1 - var_2 ) ;
      var_2 = Math . min ( var_2 , var_1 ) ;
    }
    return max ;
  }
  