<awangdev>53. Maximum Subarray_1.java
public int maxSubArray(int[] nums) {
        if (nums == null || nums.length == 0) return Integer.MIN_VALUE;
        int preMaxSum = 0, max = Integer.MIN_VALUE;
        for (int num : nums) {
            preMaxSum = Math.max(num, preMaxSum + num);
            max = Math.max(max, preMaxSum);
        }
        return max;
    }
public int sample_funcname ( int [ ] var_0 ) {
  if ( var_0 == null || var_0 . length == 0 ) return Integer . MIN_VALUE ;
  int var_6 = 0 , max = Integer . MIN_VALUE ;
  for ( int var_8 : var_0 ) {
    var_6 = Math . max ( var_8 , var_6 + var_8 ) ;
    max = Math . max ( max , var_6 ) ;
  }
  return max ;
}
