Maximum Subarray In Leetcode Contest