Pergunta de entrevista da empresa Clearwell Systems

Write a method that reverses a singly linked list.