Maximum Subarray Problem Leetcode 752