![[CareerCup] 2.3 Delete Node in a Linked List 删除链表的节点 [CareerCup] 2.3 Delete Node in a Linked List 删除链表的节点](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
2.3 Implement an algorithm to delete a node in the middle of a singly linked list, given only access to that node.
EXAMPLE
Input: the node c from the linked list a->b->c->d->e
Result: nothing is returned, but the new linked list looks like a- >b- >d->e
LeetCode上的原题,请参考我之前的博客Delete Node in a Linked List 删除链表的节点。