Athena Studio interview question

How to fine loop in linked list?