Pregunta de entrevista de American Express

Write a method that reverses a list.