摘要: Problem: Given an array of integers and an integer k, you need to find the number of unique k-diff pairs in the array. Here a k-diff pair is defined a 阅读全文
posted @ 2017-03-09 01:18 Richard_W 阅读(259) 评论(0) 推荐(0)
摘要: A set object is an unordered collection of distinct hashtable objects. Common uses include membership testing, removing duplicates from a sequence, an 阅读全文
posted @ 2017-03-09 01:07 Richard_W 阅读(177) 评论(0) 推荐(0)