question :https://hack.codingblocks.com/contests/c/512/912
can someone give me hint for this question
question :https://hack.codingblocks.com/contests/c/512/912
can someone give me hint for this question
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.
Question:https://hack.codingblocks.com/contests/c/512/912
Answer:https://ide.codingblocks.com/s/56917
I tried all possible approach using vector<vector> for this problem but unable to get the desired Output pls guide
Hey Tushar, your solution will not work as you are not handling it for duplicate subsets, here I am sharing my code you can refer this.
.