Philips interview question

Write code to find a loop in linked list