Morgan Stanley Interview Question

Reverse linked list