Leetcode 3206. Alternating Groups I | Hello Interview