← Amazon questions

Time for COVID infection in a hospital ward

Filed under Amazon

Given an m x n grid where each cell is 0 (empty), 1 (normal), or 2 (COVID), every minute, any normal patient adjacent to a COVID patient becomes infected. Return the minimum time until no normal…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.