Fundamentals
/
Find All Combination of Numbers that Sum to a Target | Shopping Options
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an array of distinct positive integers and a target, return all unique combinations (as arrays sorted ascending) where the elements sum to target. Each element may be used at most once.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
20