Computer Science, asked by saravjit6140, 11 months ago

Sum of subset of array being equal to particular value

Answers

Answered by Anonymous
0

Let isSubSetSum(int set[], int n, int sum) be the function to find whether there is a subset of set[] with sum equal to sum. n is the number of elements in set[]. …b) Exclude the last element, recur for n = n-1. If any of the above the above subproblems return true, then return true.


riya48086: Want to become a Brainly Star??
riya48086: @brainly500949.typeform.com/to/Eg3OiX
riya48086: Go to the link and fill the form
Similar questions