Maximum Subarray Leetcode Question No 2