PROS Interview Question

Write a method to reverse a linked list.