GE HealthCare interview question

Write a program to find loop in a linkedlist