No matches were found for subject:"\[algogeeks\] Re\: There is an array and the distance between any two consequent elements is one\(\+1 or \-1\) and given a number. You have to check whether the number is in array or not with minimum complex"