File tree
266 files changed
+37402
-27159
lines changed- images
- lcof2
- 剑指 Offer II 075. 数组相对排序
- 剑指 Offer II 076. 数组中的第 k 大的数字
- solution
- 0000-0099
- 0001.Two Sum
- 0016.3Sum Closest
- 0071.Simplify Path
- 0200-0299
- 0214.Shortest Palindrome
- 0230.Kth Smallest Element in a BST
- 0300-0399/0308.Range Sum Query 2D - Mutable
- 0400-0499/0457.Circular Array Loop
- images
- 0500-0599/0552.Student Attendance Record II
- 0600-0699
- 0624.Maximum Distance in Arrays
- 0638.Shopping Offers
- 0650.2 Keys Keyboard
- 0700-0799
- 0719.Find K-th Smallest Pair Distance
- 0756.Pyramid Transition Matrix
- 0777.Swap Adjacent in LR String
- 0787.Cheapest Flights Within K Stops
- images
- 0800-0899
- 0813.Largest Sum of Averages
- 0814.Binary Tree Pruning
- 0841.Keys and Rooms
- 0848.Shifting Letters
- 0849.Maximize Distance to Closest Person
- 0860.Lemonade Change
- 0900-0999/0919.Complete Binary Tree Inserter
- 1000-1099
- 1032.Stream of Characters
- 1062.Longest Repeating Substring
- 1100-1199
- 1122.Relative Sort Array
- 1190.Reverse Substrings Between Each Pair of Parentheses
- 1200-1299/1296.Divide Array in Sets of K Consecutive Numbers
- 1300-1399
- 1307.Verbal Arithmetic Puzzle
- 1310.XOR Queries of a Subarray
- 1311.Get Watched Videos by Your Friends
- 1392.Longest Happy Prefix
- 1400-1499
- 1418.Display Table of Food Orders in a Restaurant
- 1422.Maximum Score After Splitting a String
- 1424.Diagonal Traverse II
- 1425.Constrained Subsequence Sum
- 1453.Maximum Number of Darts Inside of a Circular Dartboard
- 1800-1899/1820.Maximum Number of Accepted Invitations
- 1900-1999
- 1916.Count Ways to Build Rooms in an Ant Colony
- 1998.GCD Sort of an Array
- 2000-2099/2029.Stone Game IX
- 2100-2199/2189.Number of Ways to Build House of Cards
- 2200-2299/2202.Maximize the Topmost Element After K Moves
- 2800-2899/2800.Shortest String That Contains Three Strings
- 3000-3099
- 3062.Winner of the Linked List Game
- 3068.Find the Maximum Sum of Node Values
- images
- 3076.Shortest Uncommon Substring in an Array
- 3082.Find the Sum of the Power of All Subsequences
- 3100-3199
- 3117.Minimum Sum of Values by Dividing Array
- 3144.Minimum Substring Partition of Equal Character Frequency
- 3151.Special Array I
- 3152.Special Array II
- 3153.Sum of Digit Differences of All Pairs
- 3154.Find Number of Ways to Reach the K-th Stair
- 3200-3299
- 3229.Minimum Operations to Make Array Equal to Target
- 3235.Check if the Rectangle Corner Is Reachable
- 3247.Number of Subsequences with Odd Sum
- 3248.Snake in Matrix
- 3249.Count the Number of Good Nodes
- 3250.Find the Count of Monotonic Pairs I
- 3251.Find the Count of Monotonic Pairs II
- 3252.Premier League Table Ranking II
- 3253.Construct String with Minimum Cost (Easy)
- 3254.Find the Power of K-Size Subarrays I
- 3255.Find the Power of K-Size Subarrays II
- 3256.Maximum Value Sum by Placing Three Rooks I
- 3257.Maximum Value Sum by Placing Three Rooks II
- 3258.Count Substrings That Satisfy K-Constraint I
- 3259.Maximum Energy Boost From Two Drinks
- 3260.Find the Largest Palindrome Divisible by K
- 3261.Count Substrings That Satisfy K-Constraint II
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
266 files changed
+37402
-27159
lines changedLines changed: 25379 additions & 25274 deletions
Loading
Lines changed: 250 additions & 54 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 |
| |
55 | 59 |
| |
56 | 60 |
| |
| |||
59 | 63 |
| |
60 | 64 |
| |
61 | 65 |
| |
62 |
| - | |
63 |
| - | |
64 |
| - | |
| 66 | + | |
| 67 | + | |
65 | 68 |
| |
66 | 69 |
| |
67 | 70 |
| |
68 | 71 |
| |
69 | 72 |
| |
70 | 73 |
| |
71 | 74 |
| |
72 |
| - | |
73 |
| - | |
74 |
| - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
75 | 78 |
| |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
81 | 82 |
| |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
103 | 101 |
| |
104 |
| - | |
105 |
| - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 |
| |
107 | 111 |
| |
108 | 112 |
| |
| |||
113 | 117 |
| |
114 | 118 |
| |
115 | 119 |
| |
116 |
| - | |
117 |
| - | |
118 |
| - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 |
| |
127 | 131 |
| |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
134 | 137 |
| |
135 | 138 |
| |
136 | 139 |
| |
137 | 140 |
| |
138 | 141 |
| |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
139 | 180 |
| |
140 | 181 |
| |
141 | 182 |
| |
142 | 183 |
| |
143 |
| - | |
| 184 | + | |
144 | 185 |
| |
145 |
| - | |
| 186 | + | |
146 | 187 |
| |
147 |
| - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
148 | 193 |
| |
149 | 194 |
| |
150 | 195 |
| |
151 | 196 |
| |
152 | 197 |
| |
153 | 198 |
| |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
| 199 | + | |
| 200 | + | |
158 | 201 |
| |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 |
| - | |
167 |
| - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
168 | 364 |
| |
169 | 365 |
| |
170 | 366 |
| |
|
Lines changed: 11 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
9 | 7 |
| |
10 |
| - | |
11 |
| - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 |
| |
13 | 17 |
| |
14 | 18 |
| |
|
0 commit comments