Fundamentals/Backtracking with Pruning
← PrevNext →
Given an array of distinct positive integers and a target, return the count of subsets that sum to target. Prune when the running sum exceeds target.