摘要: Given a picture consisting of black and white pixels, and a positive integer N, find the number of black pixels located at some specific row R and col 阅读全文
posted @ 2017-09-26 10:36 Jimmy_Cheng 阅读(848) 评论(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 an inte 阅读全文
posted @ 2017-09-26 06:16 Jimmy_Cheng 阅读(309) 评论(0) 推荐(0) 编辑