Question d’entretien chez Hulu

how to reverse a linked list?

Réponse à la question d'entretien

Utilisateur anonyme

21 janv. 2011

Traverse the list in reverse order (starting from the end). Create a new list and add the objects sequentially. Voila, the list is now reversed.