Capgemini interview question

Reverse a linked List.