GATEverse Practice, past papers & mock tests
GATE 2008
AlgorithmsDynamic ProgrammingeasyMCQ1 mark
A 0/1 knapsack problem has capacity W = 10 and 4 items with weights w = {2, 3, 4, 5} and values v = {3, 4, 5, 6}, respectively. The maximum total value that can be placed in the knapsack is
Save your progress

Related Algorithms PYQs