1.

What is the space complexity of the ABOVE dynamic programming implementation used to compute the nth fibonacci term?

A. O(1)
B. O(n)
C. O(n2)
D. Exponential
Answer» C. O(n2)


Discussion

No Comment Found