Intel Corporation interview question

Reverse a linked list