

McqMate
Q. |
What is a subset sum problem? |
A. | finding a subset of a set that has sum of elements equal to a given number |
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 |
C. | finding the sum of elements present in a set |
D. | finding the sum of all the subsets of a set |
Answer» 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 | |
Explanation: in subset sum problem check for the presence of a subset that has sum of elements equal to a given number. if such a |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet