Maximum Subarray Problem Leetcode 150