1.

What is the space complexity of the following dynamic programming implementation used to find the length of the longest increasing subsequence?

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


Discussion

No Comment Found