Maximum Subarray Leetcode Compensation Expectations Question Ai