Your Submissions
You haven't submitted any code for this challenge yet. Solve the problem by passing all the test cases, and your submissions will appear here.
xxxxxxxxxx
19
var assert = require('assert');
var combinationSum = function (candidates, target) {
// fill in
return result;
};
try {
assert.deepEqual(combinationSum([2, 3, 5], 9), [
[2, 2, 2, 3],
[2, 2, 5],
[3, 3, 3],
]);
console.log('PASSED: ' + 'combinationSum([2, 3, 5], 9)');
} catch (err) {
console.log(err);
}
OUTPUT
Results will appear here.