FastPrepMaximum Subarray Sum
public int maxSubArray(int[] nums) {
  // write your code here
}
nums[-2,1,-3,4,-1,2,1,-5,4]
expected6
Checking account…