Infineon Technologies Interview Question

How to detect a loop in linked list?