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.