Question d’entretien chez Adobe

graph (DFS/BFS) search for the target node