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
相關文章
相關標籤/搜索