LeetCode 1001. Grid Illumination

原题 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 the location of the i-th lamp that is on. Each lamp t
相关文章
相关标签/搜索