In: Computer Science
Divide and conquer approach to find the minimum absolute difference in array A[lo..hi]
Input an array A[lo..hi] of n real numbers.
Requirement:
I have used the divide and conquer approch as asked by you
Here is the implementation in c++
The time complexity is O(nlogn)