in LeetCode

Unique Paths 入门级动态规划,我一开始用递归做了一下,直接超时了//// 2333

in LeetCode

虽然是 hard 类的题目,但其实也很简单。不过代码如果想要既美观又高效,可能就要费点功夫了。题目链接: Jump Game, Jump Game II。

in LeetCode

链表套餐:https://leetcode.com/tag/linked-list/ , 基本把链表套餐内 Medium 难度以上的题目刷了一遍,总结一下常见套路。

in LeetCode

题目链接: https://leetcode.com/problems/linked-list-cycle-ii/description/

in LeetCode

题目链接: https://leetcode.com/problems/reverse-linked-list-ii/description/

in LeetCode

题目链接: https://leetcode.com/problems/swap-nodes-in-pairs/description/链表套餐: https://leetcode.com/tag/linked-list/