Capital One Interview Question

Reverse a linked list