Simulate Infection Spread with Immunity and Recovery

Read the full interview experience this question came from →

Quick Overview

Simulate simultaneous infection spread and timed recovery on a grid containing susceptible, infected, immune, recovered, and empty cells, then return the state after a fixed number of days.

Simulate Infection Spread with Immunity and Recovery

Company: OpenAI

Role: Machine Learning Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Simulate simultaneous infection spread and timed recovery on a grid containing susceptible, infected, immune, recovered, and empty cells, then return the state after a fixed number of days.

Read the full OpenAI Machine Learning Engineer interview experience this question came from

OpenAI logo
OpenAI
Aug 15, 2026
mediumMachine Learning EngineerTechnical ScreenCoding & Algorithms
55
0
Loading...