← Microsoft questions

Last day when virus spreading will stop

Filed under Microsoft

Given a 2D grid where 1 represents vaccinated, 0 represents uninfected, and -1 represents infected, the virus spreads to uninfected neighbors in 4 directions each day. Find the day when the spread…

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 Microsoft questions

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