Leetcode K Different Pairs In An Array Using Any 3