Morgan Stanley interview question

Question on Reversing a linked list