Closed labuladong closed 1 year ago
Q21: https://leetcode.com/problems/merge-two-sorted-lists/discuss/2815320/Python-Iteration-solution Q86: https://leetcode.com/problems/partition-list/discuss/2815329/Python-two-pointer-approach Q23: https://leetcode.com/problems/merge-k-sorted-lists/discuss/2815465/python-solution-heapq Q19: https://leetcode.com/problems/remove-nth-node-from-end-of-list/discuss/2815518/Python-Two-pointer-solution Q876: https://leetcode.com/problems/middle-of-the-linked-list/discuss/2815538/python-two-pointer-method Q160: https://leetcode.com/problems/intersection-of-two-linked-lists/discuss/2815740/Python-two-pointers Q141: https://leetcode.com/problems/linked-list-cycle/discuss/2816043/python-two-pointer-solution Q142: https://leetcode.com/problems/linked-list-cycle-ii/discuss/2816177/Python-Floyd's-Tortoise-and-Hare-method
Q141:https://leetcode.cn/problems/linked-list-cycle/solution/kuai-man-zhi-by-wesleyzen-l41g/ Q142: https://leetcode.cn/problems/linked-list-cycle-ii/solution/by-wesleyzen-phfg/ Q160:https://leetcode.cn/problems/intersection-of-two-linked-lists/solution/by-wesleyzen-gqcf/ Q19:https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solution/by-wesleyzen-5oq4/ Q
今日学习文章:单链表的六大解题套路,你都见过么? 请于两天内在本 issue 下评论完成打卡,学习过程中如果遇到无法解决的问题可以在群里交流。
LeetCode 21
技巧1:合并两个有序链表 Q21:https://leetcode.cn/problems/merge-two-sorted-lists/solution/suan-fa-by-wu-yue-yjc-ivux/ 技巧2:链表的分解 Q86:https://leetcode.cn/problems/partition-list/solution/by-wu-yue-yjc-z3gh/ 技巧3:合并 k 个有序链表 Q23:【空】 技巧4:倒数第 k 个节点 Q19:https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solution/by-wu-yue-yjc-tmd8/ 技巧5:链表中点 Q876:https://leetcode.cn/problems/middle-of-the-linked-list/solution/by-wu-yue-yjc-lark/ 技巧6:判断链表是否包含环 & 计算环的起点 技巧7:两个链表是否相交 Q160:https://leetcode.cn/problems/intersection-of-two-linked-lists/solution/by-wu-yue-yjc-gz22/
2022/11/15
2022/11/16
Q21:https://leetcode.cn/problems/merge-two-sorted-lists/solution/-by-wesleyzen-25v1/ Q23:https://leetcode.cn/problems/merge-k-sorted-lists/solution/you-xian-dui-lie-by-wesleyzen-np1r/ Q86:https://leetcode.cn/problems/partition-list/solution/shuang-zhi-zhen-shuang-by-wesleyzen-3nuk/ Q876:https://leetcode.cn/problems/middle-of-the-linked-list/solution/-by-wesleyzen-qr9h/
本期打卡已结算完成。报名最新一期的打卡活动 点这里