0
4.0kviews
Write a algorithm for for 0/1 knapsack problem using dynamic programming approach.
1 Answer
0
99views

Before discussing about the algorithm, let's understand the problem first.

So, Now the question is What is 0/1 Knapsack Problem ?

Knapsack is like a container or a bag. Suppose we have given some items which have some weights with profits. We have to put some items in the knapsack …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.