Closed labuladong closed 1 year ago
https://leetcode.cn/problems/merge-k-sorted-lists/solution/he-bing-kge-pai-xu-lian-biao-fu-xi-you-x-dlcu/ https://leetcode.cn/problems/middle-of-the-linked-list/solution/kuai-man-zhi-zhen-qiu-zhong-jian-jie-dia-8ric/ https://leetcode.cn/problems/linked-list-cycle-ii/solution/kuai-man-zhi-zhen-tan-ce-shi-fou-you-hua-lch7/ https://leetcode.cn/problems/intersection-of-two-linked-lists/solution/pin-jie-liang-biao-guan-cha-shi-fou-you-fptrm/
https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367106/leetcode-21-merge-two-sorted-lists-by-ha-g7d2/ https://leetcode.cn/problems/partition-list/solutions/2367111/leetcode-86-partition-list-by-hachi-loku-smks/ https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/2367116/leetcode-19-remove-nth-node-from-end-of-pq5rw/ https://leetcode.cn/problems/middle-of-the-linked-list/solutions/2367118/leetcode-876-middle-of-the-linked-list-b-m5lg/ https://leetcode.cn/problems/linked-list-cycle-ii/solutions/2367121/leetcode-142-linked-list-cycle-ii-by-hac-45pn/ https://leetcode.cn/problems/intersection-of-two-linked-lists/solutions/2367123/leetcode-160-intersection-of-two-linked-e762j/
Q21. Merge Two Sorted Lists 两个解法:Iteration和Recursion https://leetcode.com/problems/merge-two-sorted-lists/discuss/3844417/Java-Iteration-and-Recursion
Q86. Partition List 这个解法基于东哥版本做了微调 https://leetcode.com/problems/partition-list/discuss/3844487/Java-Solution
Q23. Merge k Sorted Lists 两个解法:PQ和Merge Sort https://leetcode.com/problems/merge-k-sorted-lists/discuss/3845072/Java-Solution-PQ-and-Merge-Sort
Q19. Remove Nth Node From End of List https://leetcode.com/problems/remove-nth-node-from-end-of-list/discuss/3845297/Java-Iteration-Solution
Q876. Middle of the Linked List https://leetcode.com/problems/middle-of-the-linked-list/discuss/3845311/Intuitive-Solution-in-Java-Slow-Fast-Pointer-Approach
Q141. Linked List Cycle https://leetcode.com/problems/linked-list-cycle/discuss/3845319/Java-Intuitive-Solution
Q142. Linked List Cycle II https://leetcode.com/problems/linked-list-cycle-ii/discuss/3845353/Java-Iterative-Solution
Q160. Intersection of Two Linked Lists https://leetcode.com/problems/intersection-of-two-linked-lists/discuss/3845376/Java-Solution
21: https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367477/leetcodedi-21ti-lian-biao-shuang-zhi-zhe-fz1d/ 86: https://leetcode.cn/problems/partition-list/solutions/2368020/leetcode86ti-by-ji-ling-wei-2-xu0j/ 23: https://leetcode.cn/problems/merge-k-sorted-lists/solutions/2368138/leetcode23-zui-xiao-dui-by-ji-ling-wei-2-w8l1/
[19. Remove Nth Node From End of List] https://leetcode.com/problems/remove-nth-node-from-end-of-list/solutions/3845644/two-pointers-to-solve/
21:https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367199/he-bing-liang-ge-you-xu-lian-biao-die-da-bfio/ 86:https://leetcode.cn/problems/partition-list/solutions/2367272/cppdummy-fen-ge-lian-biao-by-benobug-53ml/ 23:https://leetcode.cn/problems/merge-k-sorted-lists/solutions/2367344/cppyou-xian-dui-lie-23-he-bing-k-ge-shen-tfe7/
21. Merge Two Sorted Lists: https://leetcode.com/problems/merge-two-sorted-lists/solutions/3845556/linkedlist-two-pointer-1/
86. Partition List https://leetcode.com/problems/partition-list/solutions/3845583/linked-list-two-pointer-2/
23. Merge k Sorted Lists https://leetcode.com/problems/merge-k-sorted-lists/solutions/3845681/linked-list-two-pointer-3/
19. Remove Nth Node From End of List https://leetcode.com/problems/remove-nth-node-from-end-of-list/solutions/3850673/linked-list-two-pointer-4/
876. Middle of the Linked List https://leetcode.com/problems/middle-of-the-linked-list/solutions/3850708/linked-list-two-pointer-5/
142. Linked List Cycle II https://leetcode.com/problems/linked-list-cycle-ii/solutions/3850773/linked-list-two-pointer-6/
160. Intersection of Two Linked Lists https://leetcode.com/problems/intersection-of-two-linked-lists/solutions/3850821/linked-list-two-pointer-7/
合并两个有序链表 :https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367296/he-bing-liang-ge-you-xu-lian-biao-by-gei-uvqm/ 分隔链表 : https://leetcode.cn/problems/partition-list/solutions/2367387/fen-ge-lian-biao-by-gei-wei-lai-de-zi-ji-ewkg/ 合并K个排序链表:https://leetcode.cn/problems/merge-k-sorted-lists/solutions/2367437/he-bing-kge-pai-xu-lian-biao-by-gei-wei-5msdl/ 删除链表的倒数第 N 个结点:https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/2367462/shan-chu-lian-biao-de-dao-shu-di-n-ge-ji-m6a5/ 判断链表有环:https://leetcode.cn/problems/linked-list-cycle/solutions/2367493/pan-duan-lian-biao-you-huan-by-gei-wei-l-1fla/ 求环形链表的交点:https://leetcode.cn/problems/linked-list-cycle-ii/solutions/2367505/7-qiu-huan-xing-lian-biao-de-jiao-dian-b-3i62/ 相加链表起点:https://leetcode.cn/problems/intersection-of-two-linked-lists/solutions/2367519/xiang-jia-lian-biao-qi-dian-by-gei-wei-l-9j3c/
19:https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/2367659/19-shan-chu-lian-biao-de-dao-shu-di-n-ge-i408/ 21:https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367669/21-he-bing-liang-ge-you-xu-lian-biao-by-wnrr4/ 23:https://leetcode.cn/problems/merge-k-sorted-lists/solutions/2367742/23-he-bing-k-ge-sheng-xu-lian-biao-by-ak-unxf/ 86:https://leetcode.cn/problems/partition-list/solutions/2367748/86-fen-ge-lian-biao-by-aktrking-7ij4/ 141:https://leetcode.cn/problems/linked-list-cycle/solutions/2367754/141-huan-xing-lian-biao-by-aktrking-b233/ 142:https://leetcode.cn/problems/linked-list-cycle-ii/solutions/2367768/142-huan-xing-lian-biao-ii-by-aktrking-4d59/ 160:https://leetcode.cn/problems/intersection-of-two-linked-lists/solutions/2367841/160-xiang-jiao-lian-biao-by-aktrking-4903/ 876:https://leetcode.cn/problems/middle-of-the-linked-list/solutions/2367845/876-lian-biao-de-zhong-jian-jie-dian-by-p32l7/
21.https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367534/shuang-zhi-zhen-_he-bing-liang-ge-you-xu-gzs2/ 86.https://leetcode.cn/problems/partition-list/solutions/2367552/fen-ge-lian-biao-by-betodea-wzt8/ 23.https://leetcode.cn/problems/merge-k-sorted-lists/solutions/2367679/he-bing-k-ge-sheng-xu-lian-biao-by-betod-qwbx/ 19.https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/2367715/shan-chu-lian-biao-de-dao-shu-di-n-ge-ji-9z56/ 876.https://leetcode.cn/problems/middle-of-the-linked-list/solutions/2367821/lian-biao-de-zhong-jian-jie-dian-by-beto-4quo/ 141.https://leetcode.cn/problems/linked-list-cycle/solutions/2367876/huan-xing-lian-biao-by-betodea-gp4u/ 142.https://leetcode.cn/problems/linked-list-cycle-ii/solutions/2367910/huan-xing-lian-biao-ii-by-betodea-t2ba/ 160.https://leetcode.cn/problems/intersection-of-two-linked-lists/solutions/2367972/xiang-jiao-lian-biao-by-betodea-kgs0/
1.环形链表https://leetcode.cn/problems/linked-list-cycle/solutions/2367442/python3ti-jie-by-xiao-lin-mz-1he7/
21.合并有序链表: https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367320/he-bing-liang-ge-you-xu-lian-biao-chang-h18r9/ 86.分隔链表: https://leetcode.cn/problems/partition-list/solutions/2367560/fen-ge-lian-biao-ti-jie-by-cat-boss-mstd/ 19.删除链表的倒数n个元素: https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/2367574/shan-chu-lian-biao-de-dao-shu-di-nge-yua-pnvh/ 876.链表的中间节点: https://leetcode.cn/problems/middle-of-the-linked-list/solutions/2367603/lian-biao-de-zhong-jian-jie-dian-kuai-ma-inoc/
合并两个有序链表(C++) https://leetcode.cn/problems/merge-two-sorted-lists/solutions/2367710/21-he-bing-liang-ge-you-xu-lian-biao-c-b-1ubo/ 分隔链表(C++) https://leetcode.cn/problems/partition-list/solutions/2368126/86-fen-ge-lian-biao-c-by-wangyin717-myry/ 合并 K 个升序链表(C++) https://leetcode.cn/problems/merge-k-sorted-lists/solutions/2368296/23-he-bing-k-ge-sheng-xu-lian-biao-c-by-o8oy7/ 删除链表的倒数第 N 个结点 https://leetcode.cn/problems/remove-nth-node-from-end-of-list/solutions/2368402/19-shan-chu-lian-biao-de-dao-shu-di-n-ge-waz3/
876: https://leetcode.com/problems/middle-of-the-linked-list/solutions/3848097/simple-two-pointers-approach/ 160: https://leetcode.com/problems/intersection-of-two-linked-lists/solutions/3848188/simple-java-one-pass-solution-with-a-hashset/ 142: https://leetcode.com/problems/linked-list-cycle-ii/solutions/3848415/two-simple-java-solution/
本期打卡已结算完成。报名最新一期的打卡活动 点这里