Maximum Good Subarray Sum Leetcode Playground