Rosetta Problems

Maximum Sum With Exactly K Elements

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