Amazon Interview Question

I don't remember. It was some graph question using DFS or BFS to traverse.