Maximum Subarray Problem Leetcode Premium