Maximum Element After Decreasing and Rearranging

Company: IBM___.

Difficulty: medium