+ 1
To find the number of subset that adds upto a particular number
eg:int a[]={2,4,6,8,10}; (2,4,10) (2,6,8) (6,10) therfore it should give output: 3
2 Réponses
+ 1
So you want help on how to do it?
0
no i wanted to see all sort of logic
eg:int a[]={2,4,6,8,10}; (2,4,10) (2,6,8) (6,10) therfore it should give output: 3