Pregunta de entrevista de Tata Consultancy Services

how to check if a linked list has a loop?

Respuesta de la entrevista

Anónimo

24 jul 2011

use two pointers..increment one by one step and the other by two steps..