1365. How Many Numbers Are Smaller Than The Current Number
K-diff Pairs in an Array – LeetCode. Given an array of integers nums and an integer k , return the number of unique k-diff pairs in the array. A k-diff pair is an integer pair (nums[i], nums[j]) , where the following are true: 0 How do you know if an…