nisanth074
3/20/2016 - 12:52 AM

What's the expected output?

What's the expected output?

Hey Gojek,

The expected output in case of an infinite grid is unclear. With the following seed data

AAA
AAA
DAD

for one iteration of Game of Life, is the expected output? (Discard any cells that may have become alive beyond the input board size) or

ADA
DDD
AAA

is the expected output the following?

DAD
ADA
DDD
AAA