S2
S2 copied to clipboard
1846. Maximum Element After Decreasing and Rearranging | LeetCode Cookbook
https://books.halfrost.com/leetcode/ChapterFour/1800~1899/1846.Maximum-Element-After-Decreasing-and-Rearranging/
两个操作是不是没有 描述清楚? “减小 arr 中任意元素的值,使其变为一个 更小的正整数 。”-->将所有的都变成1也符合这个操作吧?