Pregunta de entrevista de Samsung Electronics

Detect if a linked list has a loop.