Wissen Interview Question

How to detect a loop into LinkedList?