1144. Decrease Elements To Make Array Zigzag
Description
**Input:** nums = [1,2,3]
**Output:** 2
**Explanation:** We can decrease 2 to 0 or 3 to 1.**Input:** nums = [9,6,1,6,2]
**Output:** 4ac
Last updated
**Input:** nums = [1,2,3]
**Output:** 2
**Explanation:** We can decrease 2 to 0 or 3 to 1.**Input:** nums = [9,6,1,6,2]
**Output:** 4Last updated