1.

What is the space complexity of the naive method used to find the maximum sub-array sum in an array containing n elements?

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


Discussion

No Comment Found