Pergunta de entrevista da empresa Adobe

How Id check if single-linked list would end with a cycle.