1.

What is the space complexity of the following for loop method used to compute the nth fibonacci term?

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


Discussion

No Comment Found