Why have we created a new array, nextState, in the update method, rather than using the state array directly? Change the assignment to nextState to be an assignment to state in the loop body, to see if it makes any different to the automaton's behavior. If it does, can you explain why?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.