Pergunta de entrevista da empresa Extron Electronics

Graphs: BFS/DFS are usually enough