Pergunta de entrevista da empresa Microsoft

Circular link list

Resposta da entrevista

Sigiloso

13 de abr. de 2010

use 1 fast and 1 slow pointer and a always true loop, if the one of the pointer hit a null first, the link list is not circular. if fast == slow then it is circular