LeetCode

Grid Illumination

Click here for an explanation.