Frage im Vorstellungsgespräch bei Goldman Sachs

Write the code in c++ to remove a node in a singly linked list