Leetcode Maximum Good Subarray Sums Python Documentation Random