Walmart Interview Question

Zombie problem using DFS Java