Pergunta de entrevista da empresa Tata Consultancy Services

how to check if a linked list has a loop?

Resposta da entrevista

Sigiloso

24 de jul. de 2011

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