Skip to content

Commit 14f7227

Browse files
authored
Update Explain.md
1 parent 0e1a5f6 commit 14f7227

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

160. Intersection of Two Linked Lists/Explain.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
這個解法是一個對一個比較
44
流程如下:
55

6-
6+
```=
77
headA : 4 1 8 4 5 null 5 0 1 8 4 5
88
| | | | | | | | | | | |
99
| | | | | | | | | | | |
1010
headB : 5 0 1 8 4 5 null 4 1 8 4 5
11+
```
1112

1213
這時候會發現,他們第一次intersection的node不是"1"嗎?
1314
為甚麼答案是"8"呢?

0 commit comments

Comments
 (0)