[LeetCode] 2216. Minimum Deletions to Make Array Beautiful

You are given a 0-indexed integer array nums. The array nums is beautiful if: nums.length is even. nums[i] != nums[i + 1] for all i % 2 == 0. Note tha
posted @ 2023-11-22 04:42  CNoodle  阅读(3)  评论(0编辑  收藏  举报