Maximum Subarray Leetcode Solution Center