最近发现leetcode真的是最局限我的东西,我一定要在周一之前做到300t。 加油! 链表题冲刺! 文章目录 反转链表 迭代写法 --要背下来 递归写法 环形链表 快慢指针 反转链表 https://leetcode-cn.com/problems/reverse-linked-list/ 迭代写法 --要背下来 def reverseList(head): pre = None cur = head whi