Cody

Solution 1435743

Submitted on 7 Feb 2018 by David Verrelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
A = [ ... 0 1 1 0 1 1 1 0 0 0 1 0 0 0 0 0]; B = [ ... 1 0 1 1 1 0 0 0 0 0 1 1 0 1 1 0]; assert(isequal(gameOfLife(A),B))

cols = 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 rows = 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 n = 3 4 3 3 2 5 4 4 2 4 2 3 1 3 3 2

Suggested Problems

More from this Author95