Leetcode 2900. Longest Unequal Adjacent Groups Subsequence I | Hello Interview