comefrom: <awangdev>Minimum Subarray_1.java
code: public int minSubArray(List<Integer> nums) {
          if (nums == null || nums.size() == 0) return Integer.MAX_VALUE;
          int preMinSum = 0, min = Integer.MAX_VALUE;
          for (int num : nums) {
              preMinSum = Math.min(num, preMinSum + num);
              min = Math.min(min, preMinSum);
          }
          return min;
      }
masked: public int sample_funcname ( List < Integer > var_0 ) {
    if ( var_0 == null || var_0 . size ( ) == 0 ) return Integer . MAX_VALUE ;
    int var_1 = 0 , min = Integer . MAX_VALUE ;
    for ( int var_2 : var_0 ) {
      var_1 = Math . min ( var_2 , var_1 + var_2 ) ;
      min = Math . min ( min , var_1 ) ;
    }
    return min ;
  }
  