Maximum Subarray Leetcode Problem Set 2 Answer