Fundamentals of Algorithms
Question #121
Read the question, compare the options, and review the correct answer below.
CS502 · Final-term only#121
Which statement is true?
- A
?If a dynamic-programming problem satisfies the optimal-substructure property, then a locally optimal
solution is globally optimal.
- B
?If a greedy choice property satisfies the optimal-substructure property, then a locally optimal solution is
globally optimal.
- C
? Both of above
- D
?None of above
Show correct answer
Correct answer: C. ? Both of above
Check community answers against your course notes.