Each animal is always held in two different data structures: the Field and the Simulator’s rabbits and foxes lists. There is a risk that they could be inconsistent with each other. Check that you thoroughly understand how the Field and the animal lists are kept consistent between the simulateOneStep method in Simulator, hunt in Fox, and run in Rabbit.
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.