Leetcode 2539. Count the Number of Good Subsequences | Hello Interview