Rosetta Problems

Maximum Element After Decreasing and Rearranging

https://leetcode.com/problems/maximum-element-after-decreasing-and-rearranging