双链表反转图解
Posted lovegdx
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了双链表反转图解相关的知识,希望对你有一定的参考价值。
可能有点绕
1.node.next –> node.pre;node.pre –> node.next(递归)
2.head.next –> None;tail.pre –> None
3.head–>tail;tail–>head
以上是关于双链表反转图解的主要内容,如果未能解决你的问题,请参考以下文章