Given a 2D grid containing humans (1) and zombies (2), and empty spaces (0), find the minimum time required for all humans to become infected. Zombies infect adjacent (up, down, left, right) human…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.