Leetcode 289 Game of Life
The most intuitive solution would be to go over each cell of the board, base on its neighbors, record the new value in a temporary board. Then after all cells are done, we loop through the original board again and… Read More »Leetcode 289 Game of Life