Citadel interview question

standard bfs maze with obstacles