Pregunta de entrevista de TigerConnect

Write a function to delete a node from a linked list.