Maximum Subarray Leetcode Question 137