Items ={a, b, c ,d, e}
Weight ={4, 3, 2, 5, 6 }
Price =<15565 and add 5, 7, 3, 2, 4 to the respective digit>
Size of the bag =13
Select the items from the store such that you earn the maximum profit.Knapsack technique to solve it).(Neatly show all the steps and also write the algorithm)(Apply the bottom-up approach to find the optimal solution)(Analyze the running time of the given problem)
Comments
Leave a comment