Professional Documents
Culture Documents
Experiment 7
Experiment 7
1. Aim/Overview of the practical: Understand the implementation of 0-1 Knapsack using Dynamic
Programming.
2. Task to be done/ Which logistics used: Write code to implement 0-1 Knapsack using Dynamic
Programming
3. Code:
import java.util.*;
Output:
5. Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):