Skip to content

Commit a3a89c1

Browse files
yanglbmeidoocs
authored andcommitted
style: format code and docs with prettier
1 parent 48d642f commit a3a89c1

File tree

1 file changed

+2
-2
lines changed
  • lcof/面试题52. 两个链表的第一个公共节点

1 file changed

+2
-2
lines changed

lcof/面试题52. 两个链表的第一个公共节点/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,12 @@ class Solution {
270270
func getIntersectionNode(_ headA: ListNode?, _ headB: ListNode?) -> ListNode? {
271271
var a = headA
272272
var b = headB
273-
273+
274274
while a !== b {
275275
a = a == nil ? headB : a?.next
276276
b = b == nil ? headA : b?.next
277277
}
278-
278+
279279
return a
280280
}
281281
}

0 commit comments

Comments
 (0)