Pergunta de entrevista da empresa Ola

Graph traversal for a directed graph