Informatica interview question

How to detect the loop in the linked list ?