public static void main(String[] args) {
        System.out.println(new FindKthSmallestPairDistance().smallestDistancePair(new int[] {
                2, 2, 2, 3, 3, 3, 4, 4, 4
        }, 34));
        System.out.println(new FindKthSmallestPairDistance().smallestDistancePair(new int[] {
                62, 100, 4
        }, 2));
        System.out.println(new FindKthSmallestPairDistance().smallestDistancePair(new int[] {
                1, 3, 1
        }, 1));
    }
Why Did you create this class? what does it do?
src/problems/hard/FindKthSmallestPairDistance.java