Goldman Sachs interview question

Deleting a node in a linked list