Practice
/

Game of Life

Game of Life

Implement Conway's Game of Life: compute the next state of a board in-place using state-encoding to avoid extra space.

Premium Content

Create a free account, then unlock this problem and the entire premium catalog with a one-time CodeSnatch Premium purchase.

Already have an account with premium access? Sign in to continue.