Maximum Element After Decreasing and Rearranging - DSA Problem | Talentd