Maximum Subarray Leetcode Problem 704 Credit