摘要: Given a binary array, find the maximum number of consecutive 1s in this array if you can flip at most one 0. Example 1: Note: The input array will onl 阅读全文
posted @ 2019-08-17 15:50 fatttcat 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will only contain 0 and 1. The length 阅读全文
posted @ 2019-08-17 15:33 fatttcat 阅读(101) 评论(0) 推荐(0) 编辑