Pergunta de entrevista da empresa Goldman Sachs

How to detect cycle in graph?

Resposta da entrevista

Sigiloso

22 de abr. de 2020

DFS, remembering from which node you got to the next node.