Leetcode 2170. Minimum Operations to Make the Array Alternating | Hello Interview