Groups of indices cover parts of an array; delete exactly k groups so that the elements left uncovered by the remaining groups add up to as much as possible.
Groups of indices cover parts of an array; delete exactly k groups so that the elements left uncovered by the remaining groups add up to as much as possible.
Opens with the full question.