Question
Help your friend with a Knapsack to choose the best combination of things in a store room to take in her Knapsack. The Knapsack can
Help your friend with a Knapsack to choose the best combination of things in a store room to take in her Knapsack. The Knapsack can at most carry 45 pounds. There are 7 things in the store room. Pencil box, Eraser box, Pen box, Chocolate box, cookie box, box of staplers and electric kettle. Each of them have the following weights respectively (10, 13, 14, 25, 18, 20). Each of them have the following number of dollars of value respectively (10, 12, 14, 15, 17, 20). Show each step and finally write the algorithm clearly. This is not a fractional knapsack problem.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started