Approach hintTry it first, then revealHide
Recurse with a start index so that candidates are chosen in non-decreasing position order, allowing the same index again; abandon a branch once the remaining target becomes negative.
Recurse with a start index so that candidates are chosen in non-decreasing position order, allowing the same index again; abandon a branch once the remaining target becomes negative.