Capital One Interview Question

How to reverse a linked list.