Question d’entretien chez Amazon

reverse a linked list. from last