Leetcode 3177. Find the Maximum Length of a Good Subsequence II | Hello Interview