Pergunta de entrevista da empresa Pervacio

How to examine if a linked list is malformed (has loop)?