Maximum Subarray Leetcode Question 876 Restaurant