摘要:
Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two di 阅读全文
posted @ 2017-04-01 17:27
anghostcici
阅读(109)
评论(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-04-01 15:49
anghostcici
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号