πŸ“Š Design and Analysis of Algorithms
Q. Which of the following problems is NOT solved using dynamic programming?
  • (A) 0/1 knapsack problem
  • (B) matrix chain multiplication problem
  • (C) edit distance problem
  • (D) fractional knapsack problem
πŸ’¬ Discuss
βœ… Correct Answer: (D) fractional knapsack problem

Explanation: the fractional knapsack problem is solved using a greedy algorithm.


Explanation by: Mr. Dubey
the fractional knapsack problem is solved using a greedy algorithm.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
504
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate