Clearwell Systems interview question

Write a method that reverses a singly linked list.