摘要: [抄题]: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in t 阅读全文
posted @ 2018-04-15 16:17 苗妙苗 阅读(118) 评论(0) 推荐(0)
摘要: [抄题]: 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 as a 阅读全文
posted @ 2018-04-15 10:28 苗妙苗 阅读(133) 评论(0) 推荐(0)