Question d’entretien chez Microsoft

Write the function to delete a node in a singly linked list.