Leetcode 2963. Count the Number of Good Partitions | Hello Interview