Discussion Forum

Consider the following code to find the nth fibonacci term using dynamic programming:Which property is shown by line 7 of the below code?

Optimal substructure

Overlapping subproblems

Both overlapping subproblems and optimal substructure

None of the mentioned

Answer: A . Optimal substructure
0Shares
0 0

If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here

Know Explanation? Add it Here
we’ll review your comment and contact you soon….

Leave a Reply

Your email address will not be published. Required fields are marked *

error: You are not allowed to do so.....
0Shares
0
Scroll to Top