Suppose you are given a one dimensional array of arbitrary integers. How will you find the maximum sum sub-array using Divide and Conquer?
We can find the maximum sum subarray using recursive divide and conquer. The algorithm works as :
Time complexity = O(nlogn) . |