Question:medium

Which of the following statement is true ?

Show Hint

Optimal Substructure is the "parent" requirement for both. Overlapping Subproblems is the specific "child" requirement that distinguishes DP from simple recursion or greedy.
Updated On: Jun 6, 2026
  • Greedy and dynamic programming both require optimal sub structure
  • Greedy requires overlapping sub problems
  • Dynamic programming does not require optimal sub structure
  • Greedy always gives optimal solution
Show Solution

The Correct Option is A

Solution and Explanation

Was this answer helpful?
0

Top Questions on Algorithm


Questions Asked in CUET (PG) exam