IBM interview question

Find out loops in linked list