Maximum Sum Obtained of Any Permutation

mediumSolve on LeetCodeLast edited: October 12, 2025