Leetcode Maximum Subarray Solution Center