Search⌘ K
AI Features

Find K-th Smallest Pair Distance

Find K-th Smallest Pair Distance asks you to return the k-th smallest absolute difference among every pair of different positions in an integer array.

Statement

Given an array of integers nums and an integer k, return the ...