📜  在双向链表python代码示例中删除一个节点

📅  最后修改于: 2022-03-11 14:46:03.824000             🧑  作者: Mango

代码示例1
Delete a node in a Doubly Linked List
If node to be deleted is head node, then change the head pointer to next current head.
Set next of previous to del, if previous to del exists.
Set prev of next to del, if next to del exists.