1.

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

A. O(1)
B. O(n)
C. O(n<sup>2</sup>)
D. Exponential
Answer» C. O(n<sup>2</sup>)


Discussion

No Comment Found