...
Question 8933 – Algorithms
May 13, 2024
Question 11786 – Queues-and-Stacks
May 14, 2024
Question 8933 – Algorithms
May 13, 2024
Question 11786 – Queues-and-Stacks
May 14, 2024

Question 8471 – Algorithms

Which of the following problem cannot be solved using greedy approach?

Correct Answer: A

Question 379 Explanation: 
Greedy Problems:
1. Job scheduling
2. Minimum spanning tree
3. Huffman code
Dynamic Programming:
1. O/1 knapsack
2. Optimal Binary search tree
3. Matrix chain multiplication
A
0-1 knapsack
B
Job scheduling
C
Minimum spanning tree
D
Huffman code

Leave a Reply

Your email address will not be published. Required fields are marked *