Wissen interview question

How to detect a loop into LinkedList?