Amadeus interview question

Linked list - loop detection and its size.