摘要: 题目如下: In an array A containing only 0s and 1s, a K-bit flip consists of choosing a (contiguous) subarray of length K and simultaneously changing every 阅读全文
posted @ 2019-03-05 15:12 seyjs 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 题目如下: On a N x N grid of cells, each cell (x, y) with 0 <= x < N and 0 <= y < N has a lamp. Initially, some number of lamps are on. lamps[i] tells us 阅读全文
posted @ 2019-03-05 09:47 seyjs 阅读(254) 评论(0) 推荐(0) 编辑