Leetcode Maximum Good Subarray Sum K