Frage im Vorstellungsgespräch bei Visible Alpha

Round 1: Given a pointer to a node in the linked list and nothing else (not even head pointer) delete that node.

Antwort im Vorstellungsgespräch

Anonym

1. Jan. 2019

This is simple question just look up to next node in the linked list using current node's next pointer, copy data and next pointer of that node to current node data and its next pointer and delete that next node.