You have an array of integers of size n. You have to find the sum closest to zero for any pair in that array. The array is unsorted.
Answers
Answered by
0
minimum diff. ... Simple C++ program to find the pair with sum closest to a given no. ... int l = 0, r = n-1, diff = INT_MAX; ... int n = arr. length;.
Answered by
0
Explanation:
find an array the array is installed closest to 20 pair
Similar questions