What is the time complexity of the divide and conquer algorithm used to find the maximum sub-array sum?

What is the time complexity of the divide and conquer algorithm used to find the maximum sub-array sum?
A. O(n)
B. O(logn)
C. O(nlogn)
D. O(n$^{2}$)
 

Tìm kiếm

Back
Top