Rosetta Problems

Maximum Sum With at Most K Elements

https://leetcode.com/problems/maximum-sum-with-at-most-k-elements