File tree
1,419 files changed
+2170
-14938
lines changed- cmd
- github
- leetcode
- template/solution
- util
- lcof
- of000
- of003
- of004
- of006
- of007
- of010-I
- of010-II
- of010-III
- of011
- of012
- of013
- of014-I
- of014-II
- of015
- of017
- of018
- of021
- of022
- of024
- of025
- of027
- of028
- of029
- of032-I
- of032-II
- of032-III
- of037
- of039
- of042
- of047
- of049
- of050
- of053-I
- of054
- of055-I
- of056-I
- of057-I
- of057-II
- of058-I
- of058-II
- of059-I
- of062
- of063
- of064
- of065
- of066
- of068-I
- of068-II
- leetcode
- 0000.Demo
- 1-100
- 0001.Two-Sum
- 0002.Add-Two-Numbers
- 0003.Longest-Substring-Without-Repeating-Characters
- 0005.Longest-Palindromic-Substring
- 0006.ZigZag-Conversion
- 0008.String-to-Integer--atoi
- 0009.Palindrome-Number
- 0010.Regular-Expression-Matching
- 0013.Roman-to-Integer
- 0015.3Sum
- 0017.Letter-Combinations-of-a-Phone-Number
- 0018.4Sum
- 0019.Remove-Nth-Node-From-End-of-List
- 0020.Valid-Parentheses
- 0021.Merge-Two-Sorted-Lists
- 0023.Merge-k-Sorted-Lists
- 0024.Swap-Nodes-in-Pairs
- 0025.Reverse-Nodes-in-k-Group
- 0026.Remove-Duplicates-from-Sorted-Array
- 0027.Remove-Element
- 0030.Substring-with-Concatenation-of-All-Words
- 0031.Next-Permutation
- 0032.Longest-Valid-Parentheses
- 0033.Search-in-Rotated-Sorted-Array
- 0034.Find-First-and-Last-Position-of-Element-in-Sorted-Array
- 0035.Search-Insert-Position
- 0036.Valid-Sudoku
- 0037.Sudoku-Solver
- 0038.Count-and-Say
- 0039.Combination-Sum
- 0040.Combination-Sum-II
- 0041.First-Missing-Positive
- 0042.Trapping-Rain-Water
- 0044.Wildcard-Matching
- 0045.Jump-Game-II
- 0046.Permutations
- 0047.Permutations-II
- 0048.Rotate-Image
- 0049.Group-Anagrams
- 0051.N-Queens
- 0053.Maximum-Subarray
- 0054.Spiral-Matrix
- 0055.Jump-Game
- 0056.Merge-Intervals
- 0057.Insert-Interval
- 0058.Length-of-Last-Word
- 0059.Spiral-Matrix-II
- 0060.Permutation-Sequence
- 0061.Rotate-List
- 0062.Unique-Paths
- 0063.Unique-Paths-II
- 0064.Minimum-Path-Sum
- 0065.Valid-Number
- 0067.Add-Binary
- 0068.Text-Justification
- 0070.Climbing-Stairs
- 0071.Simplify-Path
- 0072.Edit-Distance
- 0073.Set-Matrix-Zeroes
- 0074.Search-a-2D-Matrix
- 0075.Sort-Colors
- 0076.Minimum-Window-Substring
- 0077.Combinations
- 0078.Subsets
- 0079.Word-Search
- 0080.Remove-Duplicates-from-Sorted-Array-II
- 0081.Search-in-Rotated-Sorted-Array-II
- 0082.Remove-Duplicates-from-Sorted-List-II
- 0083.Remove-Duplicates-from-Sorted-List
- 0084.Largest-Rectangle-in-Histogram
- 0085.Maximal-Rectangle
- 0086.Partition-List
- 0087.Scramble-String
- 0089.Gray-Code
- 0090.Subsets-II
- 0091.Decode-Ways
- 0092.Reverse-Linked-List-II
- 0093.Restore-IP-Addresses
- 0094.Binary-Tree-Inorder-Traversal
- 0095.Unique-Binary-Search-Trees-II
- 0096.Unique-Binary-Search-Trees
- 0097.Interleaving-String
- 0098.Validate-Binary-Search-Tree
- 0099.Recover-Binary-Search-Tree
- 0100.Same-Tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,419 files changed
+2170
-14938
lines changed+1-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 |
| - | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
| 61 | + | |
60 | 62 |
| |
61 | 63 |
| |
62 | 64 |
| |
63 | 65 |
| |
64 | 66 |
| |
65 | 67 |
| |
66 | 68 |
| |
67 |
| - | |
| 69 | + | |
68 | 70 |
| |
69 | 71 |
| |
70 | 72 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
20 |
| - | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
|
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
45 |
| - | |
46 | 46 |
|
+13-11
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
17 | 19 |
| |
18 |
| - | |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
| |||
46 | 48 |
| |
47 | 49 |
| |
48 | 50 |
| |
49 |
| - | |
| 51 | + | |
50 | 52 |
| |
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
54 | 56 |
| |
55 |
| - | |
| 57 | + | |
56 | 58 |
| |
57 |
| - | |
| 59 | + | |
58 | 60 |
| |
59 | 61 |
| |
60 | 62 |
| |
61 | 63 |
| |
62 | 64 |
| |
63 |
| - | |
| 65 | + | |
64 | 66 |
| |
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
69 |
| - | |
| 71 | + | |
70 | 72 |
| |
71 |
| - | |
| 73 | + | |
72 | 74 |
| |
73 | 75 |
| |
74 | 76 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| |||
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 |
| - | |
| 63 | + | |
63 | 64 |
| |
64 |
| - | |
| 65 | + | |
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
| |
70 |
| - | |
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
122 | 121 |
| |
123 | 122 |
| |
124 | 123 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
| |||
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
60 |
| - | |
| 61 | + | |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
| |||
79 | 80 |
| |
80 | 81 |
| |
81 | 82 |
| |
82 |
| - | |
83 | 83 |
|
+4-6
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 | 4 |
| |
| 5 | + | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
| |||
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 |
| - | |
| 27 | + | |
29 | 28 |
| |
30 |
| - | |
| 29 | + | |
31 | 30 |
| |
32 | 31 |
| |
33 |
| - | |
| 32 | + | |
34 | 33 |
| |
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
38 |
| - | |
39 | 37 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 | 35 |
| |
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
40 |
| - | |
41 | 39 |
|
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
| |||
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
25 |
| - | |
| 27 | + | |
26 | 28 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
| 29 | + | |
| 30 | + | |
37 | 31 |
| |
38 | 32 |
| |
39 | 33 |
| |
40 | 34 |
| |
41 | 35 |
| |
42 | 36 |
| |
43 | 37 |
| |
| 38 | + | |
44 | 39 |
| |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
50 | 44 |
| |
51 | 45 |
| |
52 | 46 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
| |||
58 | 57 |
| |
59 | 58 |
| |
60 | 59 |
| |
61 |
| - | |
62 | 60 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
| 7 | + | |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 |
| - | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
|
0 commit comments