Question d’entretien chez Meta

Reverse a Singly Linked List

Réponse à la question d'entretien

Utilisateur anonyme

10 avr. 2015

Wrote the program with time complexity O(n) , but the interviewer wanted a much better complexity. Told him its impossible to reverse N elements in less than linear time.