-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit 45519f2
File tree
44 files changed
+859
-387
lines changed- solution/0000-0099
- 0002.Add Two Numbers
- 0004.Median of Two Sorted Arrays
- 0005.Longest Palindromic Substring
- 0006.Zigzag Conversion
- 0007.Reverse Integer
- 0008.String to Integer (atoi)
- 0009.Palindrome Number
- 0010.Regular Expression Matching
- 0011.Container With Most Water
- 0012.Integer to Roman
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0016.3Sum Closest
- 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
- 0022.Generate Parentheses
- 0023.Merge k Sorted Lists
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0026.Remove Duplicates from Sorted Array
- 0028.Find the Index of the First Occurrence in a String
- 0029.Divide Two Integers
- 0030.Substring with Concatenation of All Words
- 0033.Search in Rotated Sorted Array
- 0034.Find First and Last Position of Element in Sorted Array
- 0035.Search Insert Position
- 0037.Sudoku Solver
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+859
-387
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 | - | ||
61 | + | ||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | - | ||
53 | + | ||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
|
Lines changed: 18 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | - | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
43 | 60 |
| |
44 | 61 |
| |
45 | 62 |
| |
|
Lines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | - | ||
37 | + | ||
38 | 38 |
| |
39 | - | ||
40 | - | ||
39 | + | ||
41 | 40 |
| |
42 | - | ||
41 | + | ||
43 | 42 |
| |
44 | - | ||
43 | + | ||
45 | 44 |
| |
46 | - | ||
45 | + | ||
47 | 46 |
| |
48 | - | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
49 | 52 |
| |
50 | 53 |
| |
51 | 54 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 | - | ||
63 | + | ||
64 | 64 |
| |
65 | - | ||
65 | + | ||
66 | 66 |
| |
67 | - | ||
67 | + | ||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | - | ||
42 | + | ||
43 | 43 |
| |
44 | - | ||
44 | + | ||
45 | 45 |
| |
46 | - | ||
46 | + | ||
47 | 47 |
| |
48 | - | ||
48 | + | ||
49 | 49 |
| |
50 | - | ||
50 | + | ||
51 | 51 |
| |
52 | 52 |
| |
53 | - | ||
53 | + | ||
54 | 54 |
| |
55 | 55 |
| |
56 | - | ||
56 | + | ||
57 | 57 |
| |
58 | - | ||
58 | + | ||
59 | 59 |
| |
60 | - | ||
60 | + | ||
61 | 61 |
| |
62 | - | ||
62 | + | ||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
Lines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 | - | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
98 | + | ||
99 | + | ||
100 | + | ||
101 | + | ||
92 | 102 |
| |
93 | 103 |
| |
94 | 104 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
86 | 98 |
| |
87 | 99 |
| |
88 | 100 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
46 | 70 |
| |
47 | 71 |
| |
48 | 72 |
| |
|
Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
54 | 81 |
| |
55 | 82 |
| |
56 | 83 |
| |
|
0 commit comments