LogicMonitor interview question

find loop in linked list