摘要: 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 digits or the last three digits are consecutive 1s. ... 阅读全文
posted @ 2017-01-15 17:43 xiejunzhao 阅读(344) 评论(0) 推荐(0)