M
Explanation by: Mr. Dubey
a greedy algorithm gives optimal solution for all subproblems, but when these locally optimal solutions are combined it may not result into a globally optimal solution. hence, a greedy algorithm cannot be used to solve all the dynamic programming problems.
You must be Logged in to update hint/solution
Related MCQs
Q. In counter universal clock is not used.
Q. What can an inclusion use case be used for?
Q. What can be the minimum sum of digits for a 4 digit number?
Q. Which of the following will not raise error if not used?
Q. A hacker guessing suggested password to a program is call as?
Discusssion
Login to discuss.