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?

  1. A
    ?If a dynamic-programming problem satisfies the optimal-substructure property, then a locally optimal
    solution is globally optimal.
  2. B
    ?If a greedy choice property satisfies the optimal-substructure property, then a locally optimal solution is
    globally optimal.
  3. C
    ? Both of above
  4. D
    ?None of above
Show correct answer

Correct answer: C. ? Both of above

Check community answers against your course notes.
← More practice questionsTake a timed test