offer 18 删除链表的节点

删除链表的节点

image.png

题解

单链表

image.png
image.png
这俩其实是一样的
标准答案如下:
image.png
意思都是一样的
image.png
解释更丰富

评论

暂无评论