โ† Amazon questions

Time to infect all humans with zombies

Filed under Amazon

In a 2D grid containing humans, zombies, and walls, determine the minimum number of days it takes for all humans to be infected by adjacent zombies. Zombies cannot pass through walls.

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.