Pregunta de entrevista de MB9

How would you detect a loop in a linked list Write the code for it