1.

What is the space complexity of the following 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)View Answer
Answer» C. O(n3)


Discussion

No Comment Found