Question:
Given a list of intergers and a number (say total), find how many ways by adding '+', '-' or nothing can make the total number.
Example:
List : 1, 2, 3
Total : 9
Possible ways to make 9 from 1,2,3 -> (12 - 3) -> 1
Comments (6)
Question:
Given a list of intergers and a number (say total), find how many ways by adding '+', '-' or nothing can make the total number.
Example:
List : 1, 2, 3
Total : 9
Possible ways to make 9 from 1,2,3 -> (12 - 3) -> 1