Question d’entretien chez PTC

Invert a singly linked list in C

Réponse à la question d'entretien

Utilisateur anonyme

25 févr. 2022

Iterate over the list and for each node swap the next ptr to the prev ptr, and continue to the next node.