Maximum Good Subarray Sum In Leetcode