a) In 0/1 knapsack problem items are divisible and in fractional knapsack items are indivisible
b) Both are the same
c) 0/1 knapsack is solved using a greedy algorithm and fractional knapsack is solved using dynamic programming
d) In 0/1 knapsack problem items are indivisible and in fractional knapsack items are divisible
Which of the following statement about 0/1 knapsack and fractional knapsack problem is correct?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following statement about 0/1 knapsack and fractional knapsack problem is correct?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!