Question d’entretien chez Leidos

Write a function to delete a node in a linked list, given only the pointer the node to be deleted.