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: A . Optimal substructure 0Shares0 0