1.

What is the time complexity of the ABOVE dynamic programming algorithm used to find the maximum sub-array sum?

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


Discussion

No Comment Found