Frage im Vorstellungsgespräch bei PayPal

Remove linked list node provided only pointer to that specific node

Antwort im Vorstellungsgespräch

Anonym

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