Pregunta de entrevista de Akamai

Detect a loopbin link list

Respuesta de la entrevista

Anónimo

17 ene 2017

Use two pointers travelling with different speed (one is twice as fast as other) If they both meet the loop exist otherwise their is no loop.