Leetcode 3245. Alternating Groups III | Hello Interview