Number of Cateogires are 5, Thier total weights are
w1,w2,w3,w4,w5={7,2,4,8,6}
b1,b2,b3,b4,b5={5,6,4,3,2}
M=6=Maximum Capacity= W
I am having confusion How to solve using dynamic approach 0/1 Dynamic Knapsack problem
Do we firstly need to arrande the weights in increasing order ??????????