Q. What is a subset sum problem? (Solved)

1. finding a subset of a set that has sum of elements equal to a given number

2. checking for the presence of a subset that has sum of elements equal to a given number and printing true or false based on the result

3. finding the sum of elements present in a set

4. finding the sum of all the subsets of a set

  • b. checking for the presence of a subset that has sum of elements equal to a given number and printing true or false based on the result
Subscribe Now

Get All Updates & News