Backtracking technique to solve the below instance of the subset sum problem.

9. Apply backtracking technique to solve the below instance of the subset sum problem.

S={1,3,4,6}     d=7                                               

S={5, 10, 12, 13, 15, 18}         d=30

Answer:

Leave a Reply

Your email address will not be published. Required fields are marked *