The Home Depot interview question

How to reverse a linked list?