Maximum Subarray Leetcode Question 3 Nevada