L&T Technology Services Interview Question

How do you detect a loop in linked list