1846. Maximum Element After Decreasing and Rearranging - Medium | DSA Corner | Talentd