Question d’entretien chez Amazon

Reverse a linked list.

Réponse à la question d'entretien

Utilisateur anonyme

9 févr. 2011

If its a Doubly Liked List, then i think easy way is to swap the element data from last node to head node.