Back to Questions

Game of Life

142.1K viewsAsked at Apple
Medium

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

Practice answering orally or with text to get instant AI feedback.

Practice with This Question