File tree 7 files changed +95
-7
lines changed
project/LeetCode/leetcode/src/main/java/com/blankj/easy/_019
7 files changed +95
-7
lines changed Original file line number Diff line number Diff line change 1
- # [ Two Sum] ( https://leetcode.com/problems/two-sum/ )
1
+ # [ Two Sum] [ title ]
2
2
3
3
## Description
4
4
@@ -58,3 +58,13 @@ class Solution {
58
58
}
59
59
}
60
60
```
61
+
62
+
63
+ ## 结语
64
+
65
+ 如果你同我一样热爱数据结构、算法、LeetCode,可以关注我GitHub上的LeetCode题解:[ awesome-java-leetcode] [ ajl ]
66
+
67
+
68
+
69
+ [ title ] : https://leetcode.com/problems/two-sum
70
+ [ ajl ] : https://github.com/Blankj/awesome-java-leetcode
Original file line number Diff line number Diff line change 1
- # [ Reverse Integer] ( https://leetcode.com/problems/reverse-integer/ )
1
+ # [ Reverse Integer] [ title ]
2
2
3
3
## Description
4
4
@@ -42,3 +42,13 @@ public class Solution {
42
42
}
43
43
}
44
44
```
45
+
46
+
47
+ ## 结语
48
+
49
+ 如果你同我一样热爱数据结构、算法、LeetCode,可以关注我GitHub上的LeetCode题解:[ awesome-java-leetcode] [ ajl ]
50
+
51
+
52
+
53
+ [ title ] : https://leetcode.com/problems/reverse-integer
54
+ [ ajl ] : https://github.com/Blankj/awesome-java-leetcode
Original file line number Diff line number Diff line change 1
- # [ String to Integer (atoi)] ( https://leetcode.com/problems/string-to-integer-atoi/ )
1
+ # [ String to Integer (atoi)] [ title ]
2
2
3
3
## Description
4
4
@@ -48,3 +48,13 @@ public class Solution {
48
48
}
49
49
}
50
50
```
51
+
52
+
53
+ ## 结语
54
+
55
+ 如果你同我一样热爱数据结构、算法、LeetCode,可以关注我GitHub上的LeetCode题解:[ awesome-java-leetcode] [ ajl ]
56
+
57
+
58
+
59
+ [ title ] : https://leetcode.com/problems/string-to-integer-atoi
60
+ [ ajl ] : https://github.com/Blankj/awesome-java-leetcode
Original file line number Diff line number Diff line change 1
- # [ Palindrome Number] ( https://leetcode.com/problems/palindrome-number/ )
1
+ # [ Palindrome Number] [ title ]
2
2
3
3
## Description
4
4
@@ -51,5 +51,14 @@ public boolean isPalindrome(int x) {
51
51
}
52
52
return halfReverseX == x || halfReverseX / 10 == x;
53
53
}
54
-
55
54
```
55
+
56
+
57
+ ## 结语
58
+
59
+ 如果你同我一样热爱数据结构、算法、LeetCode,可以关注我GitHub上的LeetCode题解:[ awesome-java-leetcode] [ ajl ]
60
+
61
+
62
+
63
+ [ title ] : https://leetcode.com/problems/palindrome-number
64
+ [ ajl ] : https://github.com/Blankj/awesome-java-leetcode
Original file line number Diff line number Diff line change 1
- # [ Roman to Integer] ( https://leetcode.com/problems/roman-to-integer/ )
1
+ # [ Roman to Integer] [ title ]
2
2
3
3
## Description
4
4
@@ -43,3 +43,13 @@ public class Solution {
43
43
}
44
44
}
45
45
```
46
+
47
+
48
+ ## 结语
49
+
50
+ 如果你同我一样热爱数据结构、算法、LeetCode,可以关注我GitHub上的LeetCode题解:[ awesome-java-leetcode] [ ajl ]
51
+
52
+
53
+
54
+ [ title ] : https://leetcode.com/problems/roman-to-integer
55
+ [ ajl ] : https://github.com/Blankj/awesome-java-leetcode
Original file line number Diff line number Diff line change 1
- # [ Longest Common Prefix] ( https://leetcode.com/problems/longest-common-prefix/ )
1
+ # [ Longest Common Prefix] [ title ]
2
2
3
3
## Description
4
4
@@ -26,3 +26,13 @@ public class Solution {
26
26
}
27
27
}
28
28
```
29
+
30
+
31
+ ## 结语
32
+
33
+ 如果你同我一样热爱数据结构、算法、LeetCode,可以关注我GitHub上的LeetCode题解:[ awesome-java-leetcode] [ ajl ]
34
+
35
+
36
+
37
+ [ title ] : https://leetcode.com/problems/longest-common-prefix
38
+ [ ajl ] : https://github.com/Blankj/awesome-java-leetcode
Original file line number Diff line number Diff line change
1
+ package com .blankj .easy ._019 ;
2
+
3
+ import java .util .Arrays ;
4
+ import java .util .HashMap ;
5
+
6
+ /**
7
+ * <pre>
8
+ * author: Blankj
9
+ * blog : http://blankj.com
10
+ * time : 2017/04/21
11
+ * desc :
12
+ * </pre>
13
+ */
14
+
15
+ public class Solution {
16
+
17
+ class ListNode {
18
+ int val ;
19
+ ListNode next ;
20
+
21
+ ListNode (int x ) {
22
+ val = x ;
23
+ }
24
+ }
25
+
26
+ public static void main (String [] args ) {
27
+ Solution solution = new Solution ();
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments