Pergunta de entrevista da empresa DISH

How to delete a node in linked list?