Back to Question

Game of Life

Question Explain

Implement the classic Conway's Game of Life. The board is represented by an $m \times n$ grid. Do this in-place, using the matrix to store two states (current and next) per cell.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.