Find K-th Smallest Pair Distance — CaffeCode