File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
src/main/java/com/fishercoder/solutions Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 6
6
import java .util .Deque ;
7
7
import java .util .Stack ;
8
8
9
- /**
10
- * 445. Add Two Numbers II
11
- *
12
- * You are given two non-empty linked lists representing two non-negative integers.
13
- * The most significant digit comes first and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
14
-
15
- You may assume the two numbers do not contain any leading zero, except the number 0 itself.
16
-
17
- Follow up:
18
- What if you cannot modify the input lists? In other words, reversing the lists is not allowed.
19
-
20
- Example:
21
-
22
- Input: (7 -> 2 -> 4 -> 3) + (5 -> 6 -> 4)
23
- Output: 7 -> 8 -> 0 -> 7
24
- */
25
9
public class _445 {
26
10
27
11
public static class Solution1 {
You can’t perform that action at this time.
0 commit comments