public static void main(String args[]){
        MinimumDistanceBetweenTwoNumbers mdb = new MinimumDistanceBetweenTwoNumbers();
        int input[] = {6,4,1,5,6,9,10,4,6,6};
        System.out.println(mdb.minDistance(input, 5, 6));
    }
http://www.geeksforgeeks.org/find-the-minimum-distance-between-two-numbers/
src/com/interview/array/MinimumDistanceBetweenTwoNumbers.java