Fundamentals
/
Backtracking with Pruning
⏸
00:00
↻
← Prev
Next →
▶
Question
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.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
20