摘要: 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], nu 阅读全文
posted @ 2020-10-05 17:13 fatttcat 阅读(99) 评论(0) 推荐(0) 编辑
摘要: You have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the RecentCounter class: RecentCounte 阅读全文
posted @ 2020-10-05 17:02 fatttcat 阅读(105) 评论(0) 推荐(0) 编辑