1. 反转链表(简单)
题目描述:递归反转整个链表
地址: https://leetcode-cn.com/problems/reverse-linked-list/
2021/11/25
做题反思:
解法一:递归
解法二:迭代
https://labuladong.gitee.io/algo/2/17/18/
2. 反转链表前 N 个节点
地址: https://labuladong.gitee.io/algo/2/17/17/
2021/11/25
做题反思:
3. 反转链表 II(中等)
题目描述:反转链表的一部分 -> 给一个索引区间 [m,n](索引从 1 开始),仅仅反转区间中的链表元素
地址: https://leetcode-cn.com/problems/reverse-linked-list-ii/
2021/11/25
做题反思: