MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following code to find the nth fibonacci term using dynamic programming:Which property is shown by line 7 of the below code? |
| A. | Optimal substructure |
| B. | Overlapping subproblems |
| C. | Both overlapping subproblems and optimal substructure |
| D. | None of the mentioned |
| Answer» B. Overlapping subproblems | |