Virus Spread
OpenAI interview questions · Medium · Coding round · reported 67× · 6 tests
A classic spread simulation with one important twist: newly infected cells do not help infect other cells until the next day, and immune cells never change.
The full question, tests and reference solution are available with a plan that includes OpenAI.
Run your code with Ctrl+Enter to see results.