Question d’entretien chez Goldman Sachs

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