Leetcode 1001. Grid Illumination | Hello Interview