public int maxSubArray(int[] nums) { int windowStart = 0; int result = Integer.MIN_VALUE; int runningSum = 0; for(int window