NVIDIA Interview Question

write a c code for finding a loop in a link list