Test Cases & Chat
Part 1
current
Test 1
input:candidates = [10,1,2,7,6,1,5], target = 8
expect:[[1,1,6],[1,2,5],[1,7],[2,6]]
Test 2
input:candidates = [2,5,2,1,2], target = 5
expect:[[1,2,2],[5]]
Test 3
input:candidates = [1], target = 2
expect:[]
Choose your coach
Pick a style and how you want to communicate
then
Loading...
OUTPUT
Run code to see output...
Part 1
current
Test 1
input:candidates = [10,1,2,7,6,1,5], target = 8
expect:[[1,1,6],[1,2,5],[1,7],[2,6]]
Test 2
input:candidates = [2,5,2,1,2], target = 5
expect:[[1,2,2],[5]]
Test 3
input:candidates = [1], target = 2
expect:[]
Choose your coach
Pick a style and how you want to communicate
then