Pergunta de entrevista da empresa NVIDIA

Write a program to find if a singly linked list is looped.