Amadeus interview question

Reverse a linked list; Find loop in a linked list