forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 06533cb
feat: add solutions to lc problems: No.2645,2696,2707 (doocs#2183)
1 parent cb593b9 commit 06533cb
File tree
9 files changed
+551
-72
lines changed- solution
- 2600-2699
- 2645.Minimum Additions to Make Valid String
- 2696.Minimum String Length After Removing Substrings
- 2698.Find the Punishment Number of an Integer
- 2699.Modify Graph Edge Weights
- 2700-2799/2707.Extra Characters in a String
9 files changed
+551
-72
lines changedLines changed: 12 additions & 0 deletions
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 | + | ||
46 | 58 |
| |
47 | 59 |
| |
48 | 60 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | + | ||
59 | + | ||
58 | 60 |
| |
59 | 61 |
| |
60 | 62 |
| |
| |||
137 | 139 |
| |
138 | 140 |
| |
139 | 141 |
| |
140 | - | ||
142 | + | ||
141 | 143 |
| |
142 | - | ||
144 | + | ||
143 | 145 |
| |
144 | 146 |
| |
145 | 147 |
| |
|
Lines changed: 12 additions & 2 deletions
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 | + | ||
46 | 56 |
| |
47 | 57 |
| |
48 | 58 |
| |
| |||
119 | 129 |
| |
120 | 130 |
| |
121 | 131 |
| |
122 | - | ||
132 | + | ||
123 | 133 |
| |
124 | - | ||
134 | + | ||
125 | 135 |
| |
126 | 136 |
| |
127 | 137 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 | - | ||
4 | + | ||
5 | 5 |
| |
6 | - | ||
6 | + | ||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
51 | 59 |
| |
52 | 60 |
| |
53 | 61 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
66 | 81 |
| |
67 | 82 |
| |
68 | 83 |
| |
|
0 commit comments