Maximum Subarray Leetcode Question 169