Morgan Stanley Interview Question

Question on Reversing a linked list