Morgan Stanley interview question

Reverse a linked list