I have a list of numbers like 1,2,3 and I want to find all the combination patterns that sum up to a particular number like 5. For example:
Sum=5 Numbers:1,2
This might also help: Dynamic Programming: Combination Sum Problem