Question d’entretien chez PROS

Write a method to reverse a linked list.