Combination Sum

#39
Medium
Backtracking
O(N^(T/M))
O(T/M)
Amazon
Facebook
Microsoft
Airbnb
View on LeetCode

Problem Description

Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target.