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.