AlgoMaster Logo

Find K-th Smallest Pair Distance

nums=[1, 3, 1],k=1
0 / 10
algomaster.io
Step:Find the 1-th smallest pair distance by checking every pair