Goldman Sachs Interview Question

Reverse a linked list