Question d’entretien chez PTC

create a function that reverses a linked list