Pergunta de entrevista da empresa Cisco

How will you find a closed loop in an infinitely large graph?