Google Interview | Phone Screen | Lights Out Puzzle

谷歌面试 | 电面 | Lights Out PuzzlProbleEnglisGiven a binary 2D grid (each element can either be a1or a0). You have the ability to choose any element and flip its value. The only condition is that when you choose to flip any element at index(r, c), the 4 neighbors of that element also get flipped. Find the minimum number of flips that you need to do in order to set all the elements in the matrix equa... Read More