Question d’entretien chez S&P Global

algorithm to reverse a singly linkedlist. (most efficient way)

Réponse à la question d'entretien

Utilisateur anonyme

18 févr. 2010

running in O(n). using iterator to rearrange the nodes.