Question d’entretien chez PayPal

Remove linked list node provided only pointer to that specific node

Réponse à la question d'entretien

Utilisateur anonyme

16 mai 2020

Solution (O(1)) - copy data from the next node, and then skip it self.data = next.data self.next = next.next.next

4