Which of the following is a greedy algorithm for the knapsack problem? a) Fractional knapsack algorithm b) 0-1 knapsack algorithm c) Branch and bound algorithm d) Dynamic programming algorithm
Which of the following is a greedy algorithm for the knapsack problem? a) Fractional knapsack algorithm b) 0-1 knapsack algorithm c) Branch and bound algorithm d) Dynamic programming algorithm
Share