labuladong / basic-challenge

200 stars 23 forks source link

已结束 #203

Closed labuladong closed 1 year ago

labuladong commented 1 year ago

本期打卡已结算完成。报名最新一期的打卡活动 点这里

harryhook commented 1 year ago

Q142:https://leetcode.cn/problems/linked-list-cycle-ii/solution/huan-x-by-harryhook-8f2j/

xiaopeiyi0704 commented 1 year ago

Problem 142 https://leetcode.com/problems/linked-list-cycle-ii/discuss/2814731/O(N)-java-find-circle-start-point

ZechenM commented 1 year ago

https://leetcode.com/problems/merge-two-sorted-lists/solutions/2815014/c-use-of-dummy/

sl106 commented 1 year ago

https://leetcode.com/problems/merge-two-sorted-lists/solutions/2815046/first-solution-to-merge-two-sorted-lists/

xrwy2000 commented 1 year ago

https://leetcode.cn/problems/partition-list/solution/by-wangsixian-2-dnba/

17870107715 commented 1 year ago

https://leetcode.cn/problems/linked-list-cycle/solution/huanx-by-flipped-5f-29lz/

enoren111 commented 1 year ago

https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof/solutions/1971415/by-schneiderlin-i-gkxz/

yuanfangluo commented 1 year ago

21:https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1971517/by-sleetcode-1yu1/ 86:https://leetcode.cn/problems/partition-list/solutions/1971619/shuang-zhi-zhen-ji-qiao-fen-ge-lian-biao-90a3/

xrwy2000 commented 1 year ago

力扣19题 https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solution/by-wangsixian-2-ycqx/

tianyuanzoe commented 1 year ago

https://leetcode.com/problems/intersection-of-two-linked-lists/solutions/2815785/java-easy-explanation/

KKKKSHI30 commented 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

run-forrest commented 1 year ago

https://leetcode.com/problems/merge-k-sorted-lists/discuss/2816418/use-PriorityQueue

wesleyzen commented 1 year ago

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

XinrongHAN commented 1 year ago

https://leetcode.com/problems/partition-list/discuss/2816564/java

lg785805788 commented 1 year ago

力扣876题 https://leetcode.cn/problems/middle-of-the-linked-list/solutions/1972089/lian-biao-zhong-jian-jie-dian-by-sad-ell-6gj5/

fhtbmw commented 1 year ago

今日学习文章:单链表的六大解题套路,你都见过么? 请于两天内在本 issue 下评论完成打卡,学习过程中如果遇到无法解决的问题可以在群里交流。

https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1972256/c-he-bing-you-xu-lian-biao-by-feng-huo-t-udh1/

LeetCode 21

Brucewfq commented 1 year ago

力扣86题:https://leetcode.cn/problems/partition-list/solutions/1972291/fen-ge-lian-biao-by-bruce_wan-mmxp/

linglinglv commented 1 year ago

Q160:https://leetcode.cn/problems/intersection-of-two-linked-lists/solution/by-linglinglv-336s/ Q23:https://leetcode.cn/problems/merge-k-sorted-lists/solution/23-by-linglinglv-v9t7/ Q86:https://leetcode.cn/problems/partition-list/solution/by-linglinglv-n007/

JackyLiu-SCUT commented 1 year ago

https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1972305/by-jacky-liu-e-qbnt/

goahead656 commented 1 year ago

Q141:https://leetcode.cn/problems/linked-list-cycle/solution/by-liu-hua-w1-u3r3/

Colafornia commented 1 year ago

Q86: https://leetcode.com/problems/partition-list/discuss/2816858/JavaScript-solution-with-two-dummy-linked-list

helen-tao commented 1 year ago

Q21:https://leetcode.com/problems/merge-two-sorted-lists/solutions/2822459/php-21-merge-two-sorted-lists/ Q86:https://leetcode.com/problems/partition-list/solutions/2822489/php-86-partition-list/

YangJiaCheng97 commented 1 year ago

技巧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/

zjk1234 commented 1 year ago

Q21: https://leetcode.cn/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof/solution/by-zjk123-7lsa/

blueburble commented 1 year ago

Q21: https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1972514/by-friendly-poincareamq-veuz/

Ethanim commented 1 year ago

Q19:https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/1972565/by-shi-zhi-wang-liao-iaj1/

elaineKuo commented 1 year ago

https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solution/shan-chu-lian-biao-de-dao-shu-di-nge-jie-csqr/

tta1993 commented 1 year ago

Q141:https://leetcode.com/problems/linked-list-cycle/solutions/2817226/topic/

YoungLightMing commented 1 year ago

Q21: https://leetcode.cn/problems/merge-two-sorted-lists/solution/by-younglightming-o8fl/

anqi0103 commented 1 year ago

LeetCode #21: https://leetcode.com/problems/merge-two-sorted-lists/discuss/2817316/Java-Iterative-vs-Recursion-Solution

zhuguoliang commented 1 year ago

https://leetcode.com/problems/merge-two-sorted-lists/discuss/2817371/A-two-pointer-method https://leetcode.com/problems/merge-k-sorted-lists/discuss/2817467/priority_queue-based-solution

fengmiaomiao123 commented 1 year ago

https://leetcode.cn/problems/linked-list-cycle/solutions/1972930/kuai-man-zhi-zhen-jie-ti-by-flamboyant-d-nhkl/

BenCode2019 commented 1 year ago

https://leetcode.cn/problems/merge-k-sorted-lists/solutions/1972946/by-ben-172-enkz/

ZYao-UP commented 1 year ago

https://leetcode.cn/problems/partition-list/solutions/1972902/by-lzym-hx3p/

wymann01 commented 1 year ago

删除链表倒数第 n 个节点

https://leetcode.cn/problems/SLwz0R/solution/by-huaiguangpan-p59a/

lomanqqq commented 1 year ago

分隔链表

https://leetcode.cn/problems/partition-list/solution/by-luo-luo-ke-f-5mpt/

itismejustme commented 1 year ago

2022/11/15

  1. 合并两个有序链表 https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1972906/by-rong-v-ibf2/
  2. 分隔链表 https://leetcode.cn/problems/partition-list/solutions/1972947/86-fen-ge-lian-biao-httpsleetcodecnprobl-m62l/
  3. 合并K个升序链表 https://leetcode.cn/problems/merge-k-sorted-lists/solutions/1973016/23-he-bing-kge-sheng-xu-lian-biao-httpsl-ma6n/

2022/11/16

  1. 删除链表的倒数第 N 个结点 https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/1974718/19-shan-chu-lian-biao-de-dao-shu-di-n-ge-o1do/
  2. 相交链表 https://leetcode.cn/problems/intersection-of-two-linked-lists/solutions/1974912/160-xiang-jiao-lian-biao-httpsleetcodecn-15so/
winkydang commented 1 year ago

https://leetcode.cn/problems/merge-two-sorted-lists/solution/lc-by-dxy-5n-gjah/

qiuchenzhai commented 1 year ago

https://leetcode.com/problems/partition-list/solutions/2817851/partition-list/

wenbo-bao commented 1 year ago

Q21: https://leetcode.com/problems/merge-two-sorted-lists/discuss/2818035/python-no-extra-node

wesleyzen commented 1 year ago

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/

sherryhxw commented 1 year ago

Q21:https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1973150/21he-bing-lian-biao-by-xiao-wei-ne-cr04/ Q86:https://leetcode.cn/problems/partition-list/solutions/1973155/86fen-ge-lian-biao-by-xiao-wei-ne-8rgz/

syguo88 commented 1 year ago

Q23: https://leetcode.cn/problems/merge-k-sorted-lists/solutions/1973577/by-guo-dong-5-z802/

summer-like-coding commented 1 year ago

DAY01 :https://leetcode.cn/problems/partition-list/solution/by-summer_5_8-hscy/

SIGH2333 commented 1 year ago

https://leetcode.com/problems/merge-two-sorted-lists/discuss/2819293/Java-version-Using-a-dummy-node-to-reduce-the-complexity-of-code

yoco323 commented 1 year ago

leetcode 142 https://leetcode.com/problems/linked-list-cycle-ii/discuss/2819328/Java-solution-with-fast-slow-pointers

SIGH2333 commented 1 year ago

https://leetcode.com/problems/partition-list/discuss/2819381/Java-Solution-Using-2-dummy-nodes

dapengzh54 commented 1 year ago

分解链表

https://leetcode.cn/problems/partition-list/solutions/1973793/lian-biao-shuang-zhi-zhen-ji-qiao-fen-ji-j6lf/

yh5155 commented 1 year ago

合并两个有序链表:https://leetcode.cn/problems/merge-two-sorted-lists/solutions/1973989/he-bing-liang-ge-you-xu-lian-biao-by-liu-56bo/ 分隔链表:https://leetcode.cn/problems/partition-list/solutions/1974930/fen-ge-lian-biao-by-liu-zz9-gxrq/

li-positiveandfocus commented 1 year ago

160: https://leetcode.com/problems/intersection-of-two-linked-lists/discuss/2858308/java 142: https://leetcode.com/problems/linked-list-cycle-ii/discuss/2858311/java-solution 141: https://leetcode.com/problems/linked-list-cycle/discuss/2858313/java-solution