1589. Maximum Sum Obtained of Any Permutation - Medium | DSA Corner | Talentd