Find Pair With Given Difference
1. Given an array arr of size n, you need to write a program to find if there exists a pair of elements in the array whose difference is equals to target. 2. If there exists such a pair print it, otherwise print -1.
1 <= target <= 10^4 1 <= arr[i], n <= 10^5
Input is managed for you
Output is managed for you
6 5 2 3 80 5 20 78