Coupang Interview Question

Dynamic programming question, related to bacteria survival.