You are given a nums representing the scores of students. Choose a non empty group of students to maximize the overall strength of the group.
The strength of a group formed by selecting students at indices numsnumsnums
Return the maximum strength that can be achieved.
Constraints:
nums.length
nums[i]
You are given a nums representing the scores of students. Choose a non empty group of students to maximize the overall strength of the group.
The strength of a group formed by selecting students at indices numsnumsnums
Return the maximum strength that can be achieved.
Constraints:
nums.length
nums[i]