← Questions

Game of Life, updated in place

0
GoogleCodingLast asked May 2026

Each cell of a grid is alive or dead, and all cells update together from the states of their eight neighbors, as in Conway's Game of Life. Compute the next state in place, without a second grid.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding