Netflix interview question

Variation of the subset sum problem