Pregunta de entrevista de GE HealthCare

Detect cycle in linked list.