[Hackerrank] Pairs

You will be given an array of integers and a target value. Determine the number of pairs of array elements that have a difference...