8000 fix · dryyun/algorithms-note@027e732 · GitHub
[go: up one dir, main page]

Skip to content

Commit 027e732

Browse files
committed
fix
1 parent 0221134 commit 027e732

File tree

1 file changed

+11
-1
lines changed
  • LeetCode/Go-Solutions/ProblemSet/0002.Add_Two_Numbers

1 file changed

+11
-1
lines changed

LeetCode/Go-Solutions/ProblemSet/0002.Add_Two_Numbers/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ https://leetcode-cn.com/problems/add-two-numbers/
2121
```
2222

2323
## 思路
24-
{ thinking }
24+
```
25+
(2 -> 4 -> 3)是 342
26+
27+
(5 -> 6 -> 4)是 465
28+
29+
(7 -> 0 -> 8)是 807
30+
31+
342 + 465 = 807
32+
```
33+
就是两数相加,注意进位
34+
遍历结束之后,注意最后的进位

0 commit comments

Comments
 (0)
0