Applied Intuition interview question

Dfs / bfs question medium / hard difficulty