Maximum Subarray Leetcode Question 32