- 1

Perfect Sum Problem (Print all subsets with given sum) Given an array of integers and a sum, the task is to print all subsets

2nd Oct 2017, 5:33 PM
Code_adi
Code_adi - avatar
4 odpowiedzi
+ 1
basically it is the problem of dynamic programming but can be solved by simple method.
2nd Oct 2017, 7:55 PM
Azam
Azam - avatar
0
Can you show an example?
2nd Oct 2017, 6:28 PM
Kartikey Sahu
Kartikey Sahu - avatar
0
search it on internet by currency Change algorithm
2nd Oct 2017, 8:05 PM
Azam
Azam - avatar
0
#kartikey [2,5,6,7,86,9,4,3] we have to count in how many ways the 9 can be formed 9 3,6 2,7 2,4,3 5,4
3rd Oct 2017, 2:08 AM
Code_adi
Code_adi - avatar