American Express Interview Question

Write a method that reverses a list.