comefrom: <awangdev>Minimum Subarray_2.java
code: public int minSubArray(ArrayList<Integer> nums) {
  		if (nums == null || nums.size() == 0) {
  			return 0;
  		}	
  		int curMin = nums.get(0);
  		int minRst = nums.get(0);
  		for (int i = 1; i < nums.size(); i++) {
  			curMin = Math.min(nums.get(i), curMin + nums.get(i));
  			minRst = Math.min(curMin, minRst);
  		}
  		return minRst;
      }
masked: public int sample_funcname ( ArrayList < Integer > var_0 ) {
    if ( var_0 == null || var_0 . size ( ) == 0 ) {
      return 0 ;
    }
    int var_1 = var_0 . get ( 0 ) ;
    int var_2 = var_0 . get ( 0 ) ;
    for ( int var_3 = 1 ;
    var_3 < var_0 . size ( ) ;
    var_3 ++ ) {
      var_1 = Math . min ( var_0 . get ( var_3 ) , var_1 + var_0 . get ( var_3 ) ) ;
      var_2 = Math . min ( var_1 , var_2 ) ;
    }
    return var_2 ;
  }
  