Problem With Given Difference in java
Problem Description Given an one-dimensional unsorted array A containing N integers. You are also given an integer B, find if there exists a pair of elements in the array whose difference is B. Print 1 if any such pair exists else print 0. ...