3177. Find the Maximum Length of a Good Subsequence II - Hard | DSA Corner | Talentd