OA: Microorganism Simulation

Medium · Coding · 45 min

Simulate rounds of microorganisms arranged in a row eating smaller adjacent organisms of different species from left to right with per-round immunity until stabilization, returning the largest survivor and the original indices it absorbed.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems