Pregunta de entrevista de HP Inc.

Datastructure question: detect loop in link list