Which of the following is not an example of a greedy algorithm? a) Huffman coding b) Activity selection problem c) Dijkstra's algorithm d) Knapsack problem
Which of the following is not an example of a greedy algorithm? a) Huffman coding b) Activity selection problem c) Dijkstra's algorithm d) Knapsack problem
Share
Answer: d) Knapsack problem
Answer: d) Knapsack problem