Ad
  • Default User Avatar

    Either I'm missing something or this makes no sense.

    A dead cell is represented as an integer of the amount of live neigbours it has.
    A live cell is represented the same way, but with a '1' infront. ( f. ex.: 13 - alive with 3 neighbors)
    

    Yet, the first sample test is [[12, 14, 0], [5, 6, 14], [2, 13, 1]]
    How can you have a 0 next to 2 14?

  • Custom User Avatar

    Why input map contains (useless/wrong) neightbours numbers?