[LeetCode] 3191. Minimum Operations to Make Binary Array Elements Equal to One I
You are given a binary array nums. You can do the following operation on the array any number of times (possibly zero): Choose any 3 consecutive elements from the array and flip all of them.Flipping a