Not able to do this problem

plz give me some hint to do this,i am not able to do this

@kingshuk441 Hey, to solve this problem you can produce all the possible subsets of the array and check if the sum of subset if equal to given target sum, also you can use map for duplicate combinations.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.