diff --git a/docs/notes/Leetcode 题解.md b/docs/notes/Leetcode 题解.md index 7ee1a2b7..23dfbefc 100644 --- a/docs/notes/Leetcode 题解.md +++ b/docs/notes/Leetcode 题解.md @@ -4243,7 +4243,7 @@ public boolean isPalindrome(ListNode head) { slow = slow.next; fast = fast.next.next; } - if (fast != null) slow = slow.next; // 链表节点个数为奇数,让 slow 指向下一个节点 + if (fast != null) slow = slow.next; // 偶数节点,让 slow 指向下一个节点 cut(head, slow); // 切成两个链表 return isEqual(head, reverse(slow)); } diff --git a/docs/notes/pics/gh_a68199af85d6_258_20_282_29.jpg b/docs/notes/pics/gh_a68199af85d6_258_20_282_29.jpg new file mode 100644 index 00000000..3c09c1c4 Binary files /dev/null and b/docs/notes/pics/gh_a68199af85d6_258_20_282_29.jpg differ diff --git a/docs/notes/剑指 offer 题解.md b/docs/notes/剑指 offer 题解.md index a0b07362..5fc40508 100644 --- a/docs/notes/剑指 offer 题解.md +++ b/docs/notes/剑指 offer 题解.md @@ -88,6 +88,10 @@ - [ProcessOn](https://www.processon.com/view/5a3e4c7be4b0909c1aa18b49) - [DrawIO](https://drive.google.com/file/d/1nSSCpPUC05MFoeFuf_aeTtkm7dG5-bJ1/view?usp=sharing) +本文内容可在微信小程序中阅读: + +