Question d’entretien chez Cobalt

Create a function that reverses a linked list.