diff --git "a/problems/351円235円242円350円257円225円351円242円23002円.07.351円223円276円350円241円250円347円233円270円344円272円244円.md" "b/problems/351円235円242円350円257円225円351円242円23002円.07.351円223円276円350円241円250円347円233円270円344円272円244円.md" index 7e23172093..f7b5b3d4c2 100755 --- "a/problems/351円235円242円350円257円225円351円242円23002円.07.351円223円276円350円241円250円347円233円270円344円272円244円.md" +++ "b/problems/351円235円242円350円257円225円351円242円23002円.07.351円223円276円350円241円250円347円233円270円344円272円244円.md" @@ -191,7 +191,7 @@ class Solution: for _ in range(lenB - lenA): # 让curA和curB在同一起点上(末尾位置对齐) curB = curB.next while curA: # 遍历curA 和 curB,遇到相同则直接返回 - if curA == curB: + if curA is curB: return curA else: curA = curA.next