Skip to content

HLNN/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✏️ Leetcode Solutions with Python3,Cpp

Update time: 2023-03-03 08:01:05

I have solved 693 / 2344 problems while there are 353 problems still locked.

If you have any question, please give me an issue.

If you are loving solving problems in leetcode, please contact me to enjoy it together!

If you want to use this tool please see the original repo bonfy/leetcode

(Notes: πŸ”’ means you need to buy a book from Leetcode to unlock the problem)

# Title Source Code Article Difficulty
1 two-sum πŸ“ Easy
2 add-two-numbers πŸ“ Medium
3 longest-substring-without-repeating-characters πŸ“ Medium
4 median-of-two-sorted-arrays Hard
5 longest-palindromic-substring πŸ“ Medium
6 zigzag-conversion πŸ“ Medium
7 reverse-integer πŸ“ Medium
8 string-to-integer-atoi πŸ“ Medium
9 palindrome-number πŸ“ Easy
10 regular-expression-matching πŸ“ Hard
11 container-with-most-water πŸ“ Medium
12 integer-to-roman πŸ“ Medium
13 roman-to-integer πŸ“ Easy
14 longest-common-prefix πŸ“ Easy
15 3sum πŸ“ Medium
16 3sum-closest πŸ“ Medium
17 letter-combinations-of-a-phone-number πŸ“ Medium
18 4sum πŸ“ Medium
19 remove-nth-node-from-end-of-list πŸ“ Medium
20 valid-parentheses πŸ“ Easy
21 merge-two-sorted-lists πŸ“ Easy
22 generate-parentheses πŸ“ Medium
23 merge-k-sorted-lists πŸ“ Hard
24 swap-nodes-in-pairs πŸ“ Medium
25 reverse-nodes-in-k-group πŸ“ Hard
26 remove-duplicates-from-sorted-array πŸ“ Easy
27 remove-element πŸ“ Easy
28 find-the-index-of-the-first-occurrence-in-a-string πŸ“ Medium
29 divide-two-integers πŸ“ Medium
30 substring-with-concatenation-of-all-words πŸ“ Hard
31 next-permutation πŸ“ Medium
32 longest-valid-parentheses πŸ“ Hard
33 search-in-rotated-sorted-array πŸ“ Medium
34 find-first-and-last-position-of-element-in-sorted-array πŸ“ Medium
35 search-insert-position Python3 πŸ“ Easy
36 valid-sudoku πŸ“ Medium
37 sudoku-solver πŸ“ Hard
38 count-and-say πŸ“ Medium
39 combination-sum πŸ“ Medium
40 combination-sum-ii πŸ“ Medium
41 first-missing-positive πŸ“ Hard
42 trapping-rain-water πŸ“ Hard
43 multiply-strings πŸ“ Medium
44 wildcard-matching πŸ“ Hard
45 jump-game-ii πŸ“ Medium
46 permutations πŸ“ Medium
47 permutations-ii πŸ“ Medium
48 rotate-image πŸ“ Medium
49 group-anagrams πŸ“ Medium
50 powx-n πŸ“ Medium
51 n-queens πŸ“ Hard
52 n-queens-ii πŸ“ Hard
53 maximum-subarray πŸ“ Medium
54 spiral-matrix πŸ“ Medium
55 jump-game πŸ“ Medium
56 merge-intervals πŸ“ Medium
57 insert-interval πŸ“ Medium
58 length-of-last-word πŸ“ Easy
59 spiral-matrix-ii πŸ“ Medium
60 permutation-sequence πŸ“ Hard
61 rotate-list πŸ“ Medium
62 unique-paths πŸ“ Medium
63 unique-paths-ii πŸ“ Medium
64 minimum-path-sum πŸ“ Medium
65 valid-number πŸ“ Hard
66 plus-one πŸ“ Easy
67 add-binary Python3 πŸ“ Easy
68 text-justification Hard
69 sqrtx πŸ“ Easy
70 climbing-stairs πŸ“ Easy
71 simplify-path πŸ“ Medium
72 edit-distance Python3 πŸ“ Hard
73 set-matrix-zeroes πŸ“ Medium
74 search-a-2d-matrix πŸ“ Medium
75 sort-colors πŸ“ Medium
76 minimum-window-substring πŸ“ Hard
77 combinations πŸ“ Medium
78 subsets πŸ“ Medium
79 word-search πŸ“ Medium
80 remove-duplicates-from-sorted-array-ii πŸ“ Medium
81 search-in-rotated-sorted-array-ii πŸ“ Medium
82 remove-duplicates-from-sorted-list-ii πŸ“ Medium
83 remove-duplicates-from-sorted-list πŸ“ Easy
84 largest-rectangle-in-histogram πŸ“ Hard
85 maximal-rectangle πŸ“ Hard
86 partition-list πŸ“ Medium
87 scramble-string πŸ“ Hard
88 merge-sorted-array πŸ“ Easy
89 gray-code πŸ“ Medium
90 subsets-ii πŸ“ Medium
91 decode-ways πŸ“ Medium
92 reverse-linked-list-ii πŸ“ Medium
93 restore-ip-addresses πŸ“ Medium
94 binary-tree-inorder-traversal πŸ“ Easy
95 unique-binary-search-trees-ii πŸ“ Medium
96 unique-binary-search-trees πŸ“ Medium
97 interleaving-string πŸ“ Medium
98 validate-binary-search-tree πŸ“ Medium
99 recover-binary-search-tree πŸ“ Medium
100 same-tree πŸ“ Easy
101 symmetric-tree πŸ“ Easy
102 binary-tree-level-order-traversal πŸ“ Medium
103 binary-tree-zigzag-level-order-traversal Python3 πŸ“ Medium
104 maximum-depth-of-binary-tree Python3 πŸ“ Easy
105 construct-binary-tree-from-preorder-and-inorder-traversal πŸ“ Medium
106 construct-binary-tree-from-inorder-and-postorder-traversal πŸ“ Medium
107 binary-tree-level-order-traversal-ii πŸ“ Medium
108 convert-sorted-array-to-binary-search-tree πŸ“ Easy
109 convert-sorted-list-to-binary-search-tree πŸ“ Medium
110 balanced-binary-tree πŸ“ Easy
111 minimum-depth-of-binary-tree πŸ“ Easy
112 path-sum πŸ“ Easy
113 path-sum-ii πŸ“ Medium
114 flatten-binary-tree-to-linked-list πŸ“ Medium
115 distinct-subsequences πŸ“ Hard
116 populating-next-right-pointers-in-each-node πŸ“ Medium
117 populating-next-right-pointers-in-each-node-ii πŸ“ Medium
118 pascals-triangle πŸ“ Easy
119 pascals-triangle-ii πŸ“ Easy
120 triangle πŸ“ Medium
121 best-time-to-buy-and-sell-stock Python3 πŸ“ Easy
122 best-time-to-buy-and-sell-stock-ii πŸ“ Medium
123 best-time-to-buy-and-sell-stock-iii πŸ“ Hard
124 binary-tree-maximum-path-sum πŸ“ Hard
125 valid-palindrome πŸ“ Easy
126 word-ladder-ii πŸ“ Hard
127 word-ladder πŸ“ Hard
128 longest-consecutive-sequence πŸ“ Medium
129 sum-root-to-leaf-numbers πŸ“ Medium
130 surrounded-regions πŸ“ Medium
131 palindrome-partitioning πŸ“ Medium
132 palindrome-partitioning-ii πŸ“ Hard
133 clone-graph πŸ“ Medium
134 gas-station πŸ“ Medium
135 candy πŸ“ Hard
136 single-number πŸ“ Easy
137 single-number-ii πŸ“ Medium
138 copy-list-with-random-pointer πŸ“ Medium
139 word-break πŸ“ Medium
140 word-break-ii πŸ“ Hard
141 linked-list-cycle πŸ“ Easy
142 linked-list-cycle-ii πŸ“ Medium
143 reorder-list πŸ“ Medium
144 binary-tree-preorder-traversal πŸ“ Easy
145 binary-tree-postorder-traversal πŸ“ Easy
146 lru-cache πŸ“ Medium
147 insertion-sort-list πŸ“ Medium
148 sort-list πŸ“ Medium
149 max-points-on-a-line πŸ“ Hard
150 evaluate-reverse-polish-notation πŸ“ Medium
151 reverse-words-in-a-string πŸ“ Medium
152 maximum-product-subarray πŸ“ Medium
153 find-minimum-in-rotated-sorted-array πŸ“ Medium
154 find-minimum-in-rotated-sorted-array-ii πŸ“ Hard
155 min-stack πŸ“ Medium
156 binary-tree-upside-down πŸ”’ Medium
157 read-n-characters-given-read4 πŸ”’ πŸ“ Easy
158 read-n-characters-given-read4-ii-call-multiple-times πŸ”’ Hard
159 longest-substring-with-at-most-two-distinct-characters πŸ”’ πŸ“ Medium
160 intersection-of-two-linked-lists πŸ“ Easy
161 one-edit-distance πŸ”’ πŸ“ Medium
162 find-peak-element πŸ“ Medium
163 missing-ranges πŸ”’ πŸ“ Easy
164 maximum-gap πŸ“ Hard
165 compare-version-numbers πŸ“ Medium
166 fraction-to-recurring-decimal πŸ“ Medium
167 two-sum-ii-input-array-is-sorted πŸ“ Medium
168 excel-sheet-column-title Easy
169 majority-element πŸ“ Easy
170 two-sum-iii-data-structure-design πŸ”’ πŸ“ Easy
171 excel-sheet-column-number πŸ“ Easy
172 factorial-trailing-zeroes πŸ“ Medium
173 binary-search-tree-iterator πŸ“ Medium
174 dungeon-game πŸ“ Hard
179 largest-number πŸ“ Medium
186 reverse-words-in-a-string-ii πŸ”’ πŸ“ Medium
187 repeated-dna-sequences πŸ“ Medium
188 best-time-to-buy-and-sell-stock-iv πŸ“ Hard
189 rotate-array πŸ“ Medium
190 reverse-bits πŸ“ Easy
191 number-of-1-bits πŸ“ Easy
198 house-robber πŸ“ Medium
199 binary-tree-right-side-view πŸ“ Medium
200 number-of-islands πŸ“ Medium
201 bitwise-and-of-numbers-range πŸ“ Medium
202 happy-number πŸ“ Easy
203 remove-linked-list-elements πŸ“ Easy
204 count-primes πŸ“ Medium
205 isomorphic-strings πŸ“ Easy
206 reverse-linked-list πŸ“ Easy
207 course-schedule πŸ“ Medium
208 implement-trie-prefix-tree πŸ“ Medium
209 minimum-size-subarray-sum πŸ“ Medium
210 course-schedule-ii πŸ“ Medium
211 design-add-and-search-words-data-structure πŸ“ Medium
212 word-search-ii πŸ“ Hard
213 house-robber-ii πŸ“ Medium
214 shortest-palindrome πŸ“ Hard
215 kth-largest-element-in-an-array πŸ“ Medium
216 combination-sum-iii πŸ“ Medium
217 contains-duplicate πŸ“ Easy
218 the-skyline-problem πŸ“ Hard
219 contains-duplicate-ii πŸ“ Easy
220 contains-duplicate-iii πŸ“ Hard
221 maximal-square πŸ“ Medium
222 count-complete-tree-nodes πŸ“ Medium
223 rectangle-area πŸ“ Medium
224 basic-calculator πŸ“ Hard
225 implement-stack-using-queues πŸ“ Easy
226 invert-binary-tree Python3 πŸ“ Easy
227 basic-calculator-ii πŸ“ Medium
228 summary-ranges πŸ“ Easy
229 majority-element-ii πŸ“ Medium
230 kth-smallest-element-in-a-bst πŸ“ Medium
231 power-of-two πŸ“ Easy
232 implement-queue-using-stacks πŸ“ Easy
233 number-of-digit-one πŸ“ Hard
234 palindrome-linked-list πŸ“ Easy
235 lowest-common-ancestor-of-a-binary-search-tree πŸ“ Medium
236 lowest-common-ancestor-of-a-binary-tree πŸ“ Medium
237 delete-node-in-a-linked-list πŸ“ Medium
238 product-of-array-except-self πŸ“ Medium
239 sliding-window-maximum πŸ“ Hard
240 search-a-2d-matrix-ii πŸ“ Medium
241 different-ways-to-add-parentheses Medium
242 valid-anagram πŸ“ Easy
243 shortest-word-distance πŸ”’ πŸ“ Easy
244 shortest-word-distance-ii πŸ”’ πŸ“ Medium
245 shortest-word-distance-iii πŸ”’ πŸ“ Medium
246 strobogrammatic-number πŸ”’ πŸ“ Easy
247 strobogrammatic-number-ii πŸ”’ πŸ“ Medium
248 strobogrammatic-number-iii πŸ”’ Hard
249 group-shifted-strings πŸ”’ πŸ“ Medium
250 count-univalue-subtrees πŸ”’ πŸ“ Medium
251 flatten-2d-vector πŸ”’ πŸ“ Medium
252 meeting-rooms πŸ”’ πŸ“ Easy
253 meeting-rooms-ii πŸ”’ πŸ“ Medium
254 factor-combinations πŸ”’ πŸ“ Medium
255 verify-preorder-sequence-in-binary-search-tree πŸ”’ Medium
256 paint-house πŸ”’ πŸ“ Medium
257 binary-tree-paths πŸ“ Easy
258 add-digits πŸ“ Easy
259 3sum-smaller πŸ”’ πŸ“ Medium
260 single-number-iii πŸ“ Medium
261 graph-valid-tree πŸ”’ πŸ“ Medium
263 ugly-number πŸ“ Easy
264 ugly-number-ii πŸ“ Medium
265 paint-house-ii πŸ”’ πŸ“ Hard
266 palindrome-permutation πŸ”’ πŸ“ Easy
267 palindrome-permutation-ii πŸ”’ πŸ“ Medium
268 missing-number πŸ“ Easy
269 alien-dictionary πŸ”’ πŸ“ Hard
270 closest-binary-search-tree-value πŸ”’ πŸ“ Easy
271 encode-and-decode-strings πŸ”’ πŸ“ Medium
272 closest-binary-search-tree-value-ii πŸ”’ πŸ“ Hard
273 integer-to-english-words πŸ“ Hard
274 h-index πŸ“ Medium
275 h-index-ii πŸ“ Medium
276 paint-fence πŸ”’ πŸ“ Medium
277 find-the-celebrity πŸ”’ πŸ“ Medium
278 first-bad-version πŸ“ Easy
279 perfect-squares πŸ“ Medium
280 wiggle-sort πŸ”’ πŸ“ Medium
281 zigzag-iterator πŸ”’ πŸ“ Medium
282 expression-add-operators πŸ“ Hard
283 move-zeroes πŸ“ Easy
284 peeking-iterator πŸ“ Medium
285 inorder-successor-in-bst πŸ”’ πŸ“ Medium
286 walls-and-gates πŸ”’ πŸ“ Medium
287 find-the-duplicate-number πŸ“ Medium
288 unique-word-abbreviation πŸ”’ πŸ“ Medium
289 game-of-life πŸ“ Medium
290 word-pattern πŸ“ Easy
291 word-pattern-ii πŸ”’ Medium
292 nim-game πŸ“ Easy
293 flip-game πŸ”’ Easy
294 flip-game-ii πŸ”’ Medium
295 find-median-from-data-stream πŸ“ Hard
296 best-meeting-point πŸ”’ πŸ“ Hard
297 serialize-and-deserialize-binary-tree πŸ“ Hard
298 binary-tree-longest-consecutive-sequence πŸ”’ πŸ“ Medium
299 bulls-and-cows πŸ“ Medium
300 longest-increasing-subsequence πŸ“ Medium
301 remove-invalid-parentheses πŸ“ Hard
302 smallest-rectangle-enclosing-black-pixels πŸ”’ πŸ“ Hard
303 range-sum-query-immutable πŸ“ Easy
304 range-sum-query-2d-immutable πŸ“ Medium
305 number-of-islands-ii πŸ”’ πŸ“ Hard
306 additive-number Medium
307 range-sum-query-mutable πŸ“ Medium
308 range-sum-query-2d-mutable πŸ”’ πŸ“ Hard
309 best-time-to-buy-and-sell-stock-with-cooldown πŸ“ Medium
310 minimum-height-trees πŸ“ Medium
311 sparse-matrix-multiplication πŸ”’ πŸ“ Medium
312 burst-balloons πŸ“ Hard
313 super-ugly-number Medium
314 binary-tree-vertical-order-traversal πŸ”’ πŸ“ Medium
315 count-of-smaller-numbers-after-self πŸ“ Hard
316 remove-duplicate-letters πŸ“ Medium
317 shortest-distance-from-all-buildings πŸ”’ πŸ“ Hard
318 maximum-product-of-word-lengths πŸ“ Medium
319 bulb-switcher πŸ“ Medium
320 generalized-abbreviation πŸ”’ πŸ“ Medium
321 create-maximum-number Hard
322 coin-change πŸ“ Medium
323 number-of-connected-components-in-an-undirected-graph πŸ”’ πŸ“ Medium
324 wiggle-sort-ii Medium
325 maximum-size-subarray-sum-equals-k πŸ”’ πŸ“ Medium
326 power-of-three πŸ“ Easy
327 count-of-range-sum Hard
328 odd-even-linked-list πŸ“ Medium
329 longest-increasing-path-in-a-matrix πŸ“ Hard
330 patching-array πŸ“ Hard
331 verify-preorder-serialization-of-a-binary-tree πŸ“ Medium
332 reconstruct-itinerary πŸ“ Hard
333 largest-bst-subtree πŸ”’ πŸ“ Medium
334 increasing-triplet-subsequence πŸ“ Medium
335 self-crossing Hard
336 palindrome-pairs πŸ“ Hard
337 house-robber-iii πŸ“ Medium
338 counting-bits πŸ“ Easy
339 nested-list-weight-sum πŸ”’ πŸ“ Medium
340 longest-substring-with-at-most-k-distinct-characters πŸ”’ πŸ“ Medium
341 flatten-nested-list-iterator πŸ“ Medium
342 power-of-four πŸ“ Easy
343 integer-break Medium
344 reverse-string πŸ“ Easy
345 reverse-vowels-of-a-string πŸ“ Easy
346 moving-average-from-data-stream πŸ”’ πŸ“ Easy
347 top-k-frequent-elements πŸ“ Medium
348 design-tic-tac-toe πŸ”’ πŸ“ Medium
349 intersection-of-two-arrays πŸ“ Easy
350 intersection-of-two-arrays-ii πŸ“ Easy
351 android-unlock-patterns πŸ”’ πŸ“ Medium
352 data-stream-as-disjoint-intervals πŸ“ Hard
353 design-snake-game πŸ”’ πŸ“ Medium
354 russian-doll-envelopes πŸ“ Hard
355 design-twitter Medium
356 line-reflection πŸ”’ Medium
357 count-numbers-with-unique-digits Medium
358 rearrange-string-k-distance-apart πŸ”’ Hard
359 logger-rate-limiter πŸ”’ πŸ“ Easy
360 sort-transformed-array πŸ”’ πŸ“ Medium
361 bomb-enemy πŸ”’ πŸ“ Medium
362 design-hit-counter πŸ”’ πŸ“ Medium
363 max-sum-of-rectangle-no-larger-than-k πŸ“ Hard
364 nested-list-weight-sum-ii πŸ”’ πŸ“ Medium
365 water-and-jug-problem Medium
366 find-leaves-of-binary-tree πŸ”’ πŸ“ Medium
367 valid-perfect-square πŸ“ Easy
368 largest-divisible-subset πŸ“ Medium
369 plus-one-linked-list πŸ”’ πŸ“ Medium
370 range-addition πŸ”’ πŸ“ Medium
371 sum-of-two-integers πŸ“ Medium
372 super-pow Medium
373 find-k-pairs-with-smallest-sums Medium
374 guess-number-higher-or-lower πŸ“ Easy
375 guess-number-higher-or-lower-ii πŸ“ Medium
376 wiggle-subsequence Python3 πŸ“ Medium
377 combination-sum-iv πŸ“ Medium
378 kth-smallest-element-in-a-sorted-matrix πŸ“ Medium
379 design-phone-directory πŸ”’ Medium
380 insert-delete-getrandom-o1 πŸ“ Medium
381 insert-delete-getrandom-o1-duplicates-allowed πŸ“ Hard
382 linked-list-random-node πŸ“ Medium
383 ransom-note πŸ“ Easy
384 shuffle-an-array πŸ“ Medium
385 mini-parser Medium
386 lexicographical-numbers Medium
387 first-unique-character-in-a-string πŸ“ Easy
388 longest-absolute-file-path Medium
389 find-the-difference πŸ“ Easy
390 elimination-game Medium
391 perfect-rectangle Hard
392 is-subsequence πŸ“ Easy
393 utf-8-validation πŸ“ Medium
394 decode-string πŸ“ Medium
395 longest-substring-with-at-least-k-repeating-characters πŸ“ Medium
396 rotate-function Medium
397 integer-replacement Medium
398 random-pick-index πŸ“ Medium
399 evaluate-division πŸ“ Medium
400 nth-digit Medium
401 binary-watch Easy
402 remove-k-digits πŸ“ Medium
403 frog-jump πŸ“ Hard
404 sum-of-left-leaves πŸ“ Easy
405 convert-a-number-to-hexadecimal Easy
406 queue-reconstruction-by-height πŸ“ Medium
407 trapping-rain-water-ii Hard
408 valid-word-abbreviation πŸ”’ Easy
409 longest-palindrome πŸ“ Easy
410 split-array-largest-sum πŸ“ Hard
411 minimum-unique-word-abbreviation πŸ”’ Hard
412 fizz-buzz πŸ“ Easy
413 arithmetic-slices πŸ“ Medium
414 third-maximum-number πŸ“ Easy
415 add-strings πŸ“ Easy
416 partition-equal-subset-sum πŸ“ Medium
417 pacific-atlantic-water-flow πŸ“ Medium
418 sentence-screen-fitting πŸ”’ Medium
419 battleships-in-a-board Medium
420 strong-password-checker Hard
421 maximum-xor-of-two-numbers-in-an-array πŸ“ Medium
422 valid-word-square πŸ”’ πŸ“ Easy
423 reconstruct-original-digits-from-english πŸ“ Medium
424 longest-repeating-character-replacement πŸ“ Medium
425 word-squares πŸ”’ πŸ“ Hard
432 all-oone-data-structure Hard
433 minimum-genetic-mutation πŸ“ Medium
434 number-of-segments-in-a-string πŸ“ Easy
435 non-overlapping-intervals πŸ“ Medium
436 find-right-interval πŸ“ Medium
437 path-sum-iii πŸ“ Medium
438 find-all-anagrams-in-a-string πŸ“ Medium
439 ternary-expression-parser πŸ”’ Medium
440 k-th-smallest-in-lexicographical-order Hard
441 arranging-coins πŸ“ Easy
442 find-all-duplicates-in-an-array πŸ“ Medium
443 string-compression Python3 πŸ“ Medium
444 sequence-reconstruction πŸ”’ Medium
445 add-two-numbers-ii πŸ“ Medium
446 arithmetic-slices-ii-subsequence πŸ“ Hard
447 number-of-boomerangs Medium
448 find-all-numbers-disappeared-in-an-array πŸ“ Easy
449 serialize-and-deserialize-bst πŸ“ Medium
450 delete-node-in-a-bst πŸ“ Medium
451 sort-characters-by-frequency πŸ“ Medium
452 minimum-number-of-arrows-to-burst-balloons πŸ“ Medium
453 minimum-moves-to-equal-array-elements πŸ“ Medium
454 4sum-ii πŸ“ Medium
455 assign-cookies Easy
456 132-pattern πŸ“ Medium
457 circular-array-loop Medium
458 poor-pigs πŸ“ Hard
459 repeated-substring-pattern πŸ“ Easy
460 lfu-cache πŸ“ Hard
461 hamming-distance πŸ“ Easy
462 minimum-moves-to-equal-array-elements-ii πŸ“ Medium
463 island-perimeter πŸ“ Easy
464 can-i-win Medium
465 optimal-account-balancing πŸ”’ Hard
466 count-the-repetitions πŸ“ Hard
467 unique-substrings-in-wraparound-string Medium
468 validate-ip-address πŸ“ Medium
469 convex-polygon πŸ”’ Medium
471 encode-string-with-shortest-length πŸ”’ Hard
472 concatenated-words πŸ“ Hard
473 matchsticks-to-square πŸ“ Medium
474 ones-and-zeroes πŸ“ Medium
475 heaters Medium
476 number-complement πŸ“ Easy
477 total-hamming-distance πŸ“ Medium
479 largest-palindrome-product Hard
480 sliding-window-median πŸ“ Hard
481 magical-string Medium
482 license-key-formatting πŸ“ Easy
483 smallest-good-base Hard
484 find-permutation πŸ”’ πŸ“ Medium
485 max-consecutive-ones πŸ“ Easy
486 predict-the-winner πŸ“ Medium
487 max-consecutive-ones-ii πŸ”’ πŸ“ Medium
488 zuma-game Hard
489 kth-smallest-instructions Hard
490 the-maze πŸ”’ πŸ“ Medium
491 non-decreasing-subsequences πŸ“ Medium
492 construct-the-rectangle Easy
493 reverse-pairs πŸ“ Hard
494 target-sum πŸ“ Medium
495 teemo-attacking πŸ“ Easy
496 next-greater-element-i πŸ“ Easy
498 diagonal-traverse πŸ“ Medium
499 the-maze-iii πŸ”’ Hard
500 keyboard-row Easy
501 find-mode-in-binary-search-tree Easy
502 ipo Python3 πŸ“ Hard
503 next-greater-element-ii πŸ“ Medium
504 base-7 Easy
505 the-maze-ii πŸ”’ πŸ“ Medium
506 relative-ranks Easy
507 perfect-number πŸ“ Easy
508 most-frequent-subtree-sum πŸ“ Medium
509 inorder-successor-in-bst-ii πŸ”’ πŸ“ Medium
510 count-subarrays-with-more-ones-than-zeros πŸ”’ Medium
511 all-paths-from-source-lead-to-destination πŸ”’ πŸ“ Medium
512 maximum-alternating-subarray-sum πŸ”’ Medium
513 find-bottom-left-tree-value Medium
514 freedom-trail Hard
515 find-largest-value-in-each-tree-row Medium
516 longest-palindromic-subsequence Medium
517 super-washing-machines πŸ“ Hard
518 coin-change-ii πŸ“ Medium
519 widest-pair-of-indices-with-equal-range-sum πŸ”’ Medium
520 detect-capital πŸ“ Easy
521 longest-uncommon-subsequence-i πŸ“ Easy
522 longest-uncommon-subsequence-ii πŸ“ Medium
523 continuous-subarray-sum πŸ“ Medium
524 longest-word-in-dictionary-through-deleting πŸ“ Medium
525 contiguous-array πŸ“ Medium
526 beautiful-arrangement πŸ“ Medium
527 word-abbreviation πŸ”’ πŸ“ Hard
528 swapping-nodes-in-a-linked-list πŸ“ Medium
529 minesweeper Medium
530 minimum-absolute-difference-in-bst Easy
531 lonely-pixel-i πŸ”’ πŸ“ Medium
532 k-diff-pairs-in-an-array πŸ“ Medium
533 lonely-pixel-ii πŸ”’ Medium
535 encode-and-decode-tinyurl πŸ“ Medium
536 construct-binary-tree-from-string πŸ”’ πŸ“ Medium
537 complex-number-multiplication πŸ“ Medium
538 convert-bst-to-greater-tree πŸ“ Medium
539 minimum-time-difference Medium
540 single-element-in-a-sorted-array Python3 πŸ“ Medium
541 reverse-string-ii πŸ“ Easy
542 01-matrix πŸ“ Medium
543 diameter-of-binary-tree πŸ“ Easy
544 output-contest-matches πŸ”’ πŸ“ Medium
545 boundary-of-binary-tree πŸ”’ πŸ“ Medium
546 remove-boxes πŸ“ Hard
547 number-of-provinces πŸ“ Medium
548 split-array-with-equal-sum πŸ”’ πŸ“ Hard
549 binary-tree-longest-consecutive-sequence-ii πŸ”’ πŸ“ Medium
550 shortest-path-to-get-food πŸ”’ Medium
551 student-attendance-record-i πŸ“ Easy
552 student-attendance-record-ii πŸ“ Hard
553 optimal-division πŸ“ Medium
554 brick-wall πŸ“ Medium
555 split-concatenated-strings πŸ”’ πŸ“ Medium
556 next-greater-element-iii πŸ“ Medium
557 reverse-words-in-a-string-iii πŸ“ Easy
560 subarray-sum-equals-k πŸ“ Medium
561 array-partition πŸ“ Easy
562 longest-line-of-consecutive-one-in-matrix πŸ”’ πŸ“ Medium
563 binary-tree-tilt πŸ“ Easy
564 find-the-closest-palindrome πŸ“ Hard
565 array-nesting πŸ“ Medium
566 reshape-the-matrix πŸ“ Easy
567 permutation-in-string πŸ“ Medium
568 maximum-vacation-days πŸ”’ πŸ“ Hard
572 subtree-of-another-tree πŸ“ Easy
573 squirrel-simulation πŸ”’ πŸ“ Medium
575 distribute-candies πŸ“ Easy
576 out-of-boundary-paths πŸ“ Medium
581 shortest-unsorted-continuous-subarray πŸ“ Medium
582 kill-process πŸ”’ πŸ“ Medium
583 delete-operation-for-two-strings πŸ“ Medium
587 erect-the-fence πŸ“ Hard
588 design-in-memory-file-system πŸ”’ πŸ“ Hard
591 tag-validator πŸ“ Hard
592 fraction-addition-and-subtraction πŸ“ Medium
593 valid-square πŸ“ Medium
594 longest-harmonious-subsequence πŸ“ Easy
598 range-addition-ii πŸ“ Easy
599 minimum-index-sum-of-two-lists πŸ“ Easy
600 non-negative-integers-without-consecutive-ones πŸ“ Hard
604 design-compressed-string-iterator πŸ”’ πŸ“ Easy
605 can-place-flowers πŸ“ Easy
606 construct-string-from-binary-tree πŸ“ Easy
609 find-duplicate-file-in-system πŸ“ Medium
611 valid-triangle-number πŸ“ Medium
616 add-bold-tag-in-string πŸ”’ πŸ“ Medium
617 merge-two-binary-trees πŸ“ Easy
621 task-scheduler πŸ“ Medium
623 add-one-row-to-tree πŸ“ Medium
624 maximum-distance-in-arrays πŸ”’ πŸ“ Medium
625 minimum-factorization πŸ”’ πŸ“ Medium
628 maximum-product-of-three-numbers πŸ“ Easy
629 k-inverse-pairs-array πŸ“ Hard
630 course-schedule-iii πŸ“ Hard
631 design-excel-sum-formula πŸ”’ πŸ“ Hard
632 smallest-range-covering-elements-from-k-lists πŸ“ Hard
633 sum-of-square-numbers πŸ“ Medium
634 find-the-derangement-of-an-array πŸ”’ πŸ“ Medium
635 design-log-storage-system πŸ”’ πŸ“ Medium
636 exclusive-time-of-functions πŸ“ Medium
637 average-of-levels-in-binary-tree πŸ“ Easy
638 shopping-offers πŸ“ Medium
639 decode-ways-ii πŸ“ Hard
640 solve-the-equation πŸ“ Medium
642 design-search-autocomplete-system πŸ”’ πŸ“ Hard
643 maximum-average-subarray-i πŸ“ Easy
644 maximum-average-subarray-ii πŸ”’ πŸ“ Hard
645 set-mismatch πŸ“ Easy
646 maximum-length-of-pair-chain πŸ“ Medium
647 palindromic-substrings πŸ“ Medium
648 replace-words πŸ“ Medium
649 dota2-senate πŸ“ Medium
650 2-keys-keyboard πŸ“ Medium
651 4-keys-keyboard πŸ”’ πŸ“ Medium
652 find-duplicate-subtrees Python3 πŸ“ Medium
653 two-sum-iv-input-is-a-bst πŸ“ Easy
654 maximum-binary-tree πŸ“ Medium
655 print-binary-tree πŸ“ Medium
656 coin-path πŸ”’ πŸ“ Hard
657 robot-return-to-origin πŸ“ Easy
658 find-k-closest-elements πŸ“ Medium
659 split-array-into-consecutive-subsequences πŸ“ Medium
660 remove-9 πŸ”’ πŸ“ Hard
661 image-smoother πŸ“ Easy
662 maximum-width-of-binary-tree πŸ“ Medium
663 equal-tree-partition πŸ”’ πŸ“ Medium
664 strange-printer πŸ“ Hard
665 non-decreasing-array πŸ“ Medium
666 path-sum-iv πŸ”’ πŸ“ Medium
667 beautiful-arrangement-ii πŸ“ Medium
668 kth-smallest-number-in-multiplication-table πŸ“ Hard
669 trim-a-binary-search-tree πŸ“ Medium
670 maximum-swap πŸ“ Medium
671 second-minimum-node-in-a-binary-tree πŸ“ Easy
672 bulb-switcher-ii πŸ“ Medium
673 number-of-longest-increasing-subsequence πŸ“ Medium
674 longest-continuous-increasing-subsequence πŸ“ Easy
675 cut-off-trees-for-golf-event πŸ“ Hard
676 implement-magic-dictionary πŸ“ Medium
677 map-sum-pairs πŸ“ Medium
678 valid-parenthesis-string πŸ“ Medium
679 24-game πŸ“ Hard
680 valid-palindrome-ii πŸ“ Easy
681 next-closest-time πŸ”’ πŸ“ Medium
682 baseball-game πŸ“ Easy
683 k-empty-slots πŸ”’ πŸ“ Hard
684 redundant-connection πŸ“ Medium
685 redundant-connection-ii πŸ“ Hard
686 repeated-string-match πŸ“ Medium
687 longest-univalue-path πŸ“ Medium
688 knight-probability-in-chessboard πŸ“ Medium
689 maximum-sum-of-3-non-overlapping-subarrays πŸ“ Hard
690 employee-importance πŸ“ Medium
691 stickers-to-spell-word πŸ“ Hard
692 top-k-frequent-words πŸ“ Medium
693 binary-number-with-alternating-bits πŸ“ Easy
694 number-of-distinct-islands πŸ”’ πŸ“ Medium
695 max-area-of-island πŸ“ Medium
696 count-binary-substrings πŸ“ Easy
697 degree-of-an-array πŸ“ Easy
698 partition-to-k-equal-sum-subsets πŸ“ Medium
699 falling-squares πŸ“ Hard
711 number-of-distinct-islands-ii πŸ”’ πŸ“ Hard
712 minimum-ascii-delete-sum-for-two-strings πŸ“ Medium
713 subarray-product-less-than-k πŸ“ Medium
714 best-time-to-buy-and-sell-stock-with-transaction-fee πŸ“ Medium
715 range-module πŸ“ Hard
716 max-stack πŸ”’ πŸ“ Hard
717 1-bit-and-2-bit-characters πŸ“ Easy
718 maximum-length-of-repeated-subarray πŸ“ Medium
719 find-k-th-smallest-pair-distance πŸ“ Hard
720 longest-word-in-dictionary πŸ“ Medium
721 accounts-merge πŸ“ Medium
722 remove-comments πŸ“ Medium
723 candy-crush πŸ”’ πŸ“ Medium
724 find-pivot-index πŸ“ Easy
725 split-linked-list-in-parts πŸ“ Medium
726 number-of-atoms πŸ“ Hard
727 minimum-window-subsequence πŸ”’ πŸ“ Hard
728 self-dividing-numbers πŸ“ Easy
729 my-calendar-i πŸ“ Medium
730 count-different-palindromic-subsequences πŸ“ Hard
731 my-calendar-ii πŸ“ Medium
732 my-calendar-iii πŸ“ Hard
733 flood-fill πŸ“ Easy
734 sentence-similarity πŸ”’ πŸ“ Easy
735 asteroid-collision πŸ“ Medium
736 parse-lisp-expression πŸ“ Hard
737 sentence-similarity-ii πŸ”’ πŸ“ Medium
738 monotone-increasing-digits πŸ“ Medium
739 daily-temperatures πŸ“ Medium
740 delete-and-earn πŸ“ Medium
741 cherry-pickup πŸ“ Hard
742 to-lower-case πŸ“ Easy
743 closest-leaf-in-a-binary-tree πŸ”’ πŸ“ Medium
744 network-delay-time πŸ“ Medium
745 find-smallest-letter-greater-than-target πŸ“ Easy
746 prefix-and-suffix-search πŸ“ Hard
747 min-cost-climbing-stairs πŸ“ Easy
748 largest-number-at-least-twice-of-others πŸ“ Easy
749 shortest-completing-word πŸ“ Easy
750 contain-virus πŸ“ Hard
751 number-of-corner-rectangles πŸ”’ πŸ“ Medium
752 ip-to-cidr πŸ”’ πŸ“ Medium
753 open-the-lock πŸ“ Medium
754 cracking-the-safe πŸ“ Hard
755 reach-a-number πŸ“ Medium
756 pour-water πŸ”’ πŸ“ Medium
757 pyramid-transition-matrix πŸ“ Medium
758 convert-binary-search-tree-to-sorted-doubly-linked-list πŸ”’ πŸ“ Medium
759 set-intersection-size-at-least-two πŸ“ Hard
760 bold-words-in-string πŸ”’ πŸ“ Medium
761 employee-free-time πŸ”’ πŸ“ Hard
762 find-anagram-mappings πŸ”’ πŸ“ Easy
763 special-binary-string πŸ“ Hard
764 n-ary-tree-level-order-traversal πŸ“ Medium
765 serialize-and-deserialize-n-ary-tree πŸ”’ πŸ“ Hard
766 flatten-a-multilevel-doubly-linked-list πŸ“ Medium
767 prime-number-of-set-bits-in-binary-representation πŸ“ Easy
768 partition-labels πŸ“ Medium
769 largest-plus-sign πŸ“ Medium
770 couples-holding-hands πŸ“ Hard
771 encode-n-ary-tree-to-binary-tree πŸ”’ πŸ“ Hard
772 construct-quad-tree Python3 πŸ“ Medium
773 logical-or-of-two-binary-grids-represented-as-quad-trees Medium
774 maximum-depth-of-n-ary-tree πŸ“ Easy
775 n-ary-tree-preorder-traversal πŸ“ Easy
776 n-ary-tree-postorder-traversal πŸ“ Easy
777 toeplitz-matrix πŸ“ Easy
778 reorganize-string πŸ“ Medium
779 max-chunks-to-make-sorted-ii πŸ“ Hard
780 max-chunks-to-make-sorted πŸ“ Medium
781 basic-calculator-iv πŸ“ Hard
782 jewels-and-stones πŸ“ Easy
783 search-in-a-binary-search-tree πŸ“ Easy
784 insert-into-a-binary-search-tree πŸ“ Medium
785 basic-calculator-iii πŸ”’ Hard
786 search-in-a-sorted-array-of-unknown-size πŸ”’ πŸ“ Medium
787 sliding-puzzle πŸ“ Hard
788 minimize-max-distance-to-gas-station πŸ”’ πŸ“ Hard
789 kth-largest-element-in-a-stream πŸ“ Easy
790 global-and-local-inversions πŸ“ Medium
791 split-bst πŸ”’ πŸ“ Medium
792 binary-search πŸ“ Easy
793 swap-adjacent-in-lr-string πŸ“ Medium
794 swim-in-rising-water πŸ“ Hard
795 k-th-symbol-in-grammar πŸ“ Medium
796 reaching-points πŸ“ Hard
797 rabbits-in-forest πŸ“ Medium
798 transform-to-chessboard πŸ“ Hard
799 minimum-distance-between-bst-nodes Python3 πŸ“ Easy
800 letter-case-permutation πŸ“ Medium
801 is-graph-bipartite πŸ“ Medium
802 k-th-smallest-prime-fraction πŸ“ Medium
803 cheapest-flights-within-k-stops πŸ“ Medium
804 rotated-digits πŸ“ Medium
805 escape-the-ghosts πŸ“ Medium
806 domino-and-tromino-tiling πŸ“ Medium
807 custom-sort-string πŸ“ Medium
808 number-of-matching-subsequences πŸ“ Medium
809 preimage-size-of-factorial-zeroes-function πŸ“ Hard
810 valid-tic-tac-toe-state πŸ“ Medium
811 number-of-subarrays-with-bounded-maximum πŸ“ Medium
812 rotate-string πŸ“ Easy
813 all-paths-from-source-to-target πŸ“ Medium
814 smallest-rotation-with-highest-score πŸ“ Hard
815 champagne-tower πŸ“ Medium
816 design-hashset πŸ“ Easy
817 design-hashmap πŸ“ Easy
818 similar-rgb-color πŸ”’ πŸ“ Easy
819 minimum-swaps-to-make-sequences-increasing πŸ“ Hard
820 find-eventual-safe-states πŸ“ Medium
821 bricks-falling-when-hit πŸ“ Hard
822 unique-morse-code-words πŸ“ Easy
823 split-array-with-same-average πŸ“ Hard
824 number-of-lines-to-write-string πŸ“ Easy
825 max-increase-to-keep-city-skyline πŸ“ Medium
826 soup-servings πŸ“ Medium
827 expressive-words πŸ“ Medium
828 chalkboard-xor-game πŸ“ Hard
829 subdomain-visit-count πŸ“ Medium
830 largest-triangle-area πŸ“ Easy
831 largest-sum-of-averages πŸ“ Medium
832 binary-tree-pruning πŸ“ Medium
833 bus-routes πŸ“ Hard
834 ambiguous-coordinates πŸ“ Medium
835 linked-list-components πŸ“ Medium
836 race-car πŸ“ Hard
837 most-common-word πŸ“ Easy
838 design-linked-list πŸ“ Medium
839 short-encoding-of-words πŸ“ Medium
841 shortest-distance-to-a-character πŸ“ Easy
842 card-flipping-game πŸ“ Medium
843 binary-trees-with-factors πŸ“ Medium
850 insert-into-a-sorted-circular-linked-list πŸ”’ πŸ“ Medium
851 goat-latin πŸ“ Easy
852 friends-of-appropriate-ages πŸ“ Medium
853 most-profit-assigning-work πŸ“ Medium
854 making-a-large-island πŸ“ Hard
855 count-unique-characters-of-all-substrings-of-a-given-string πŸ“ Hard
856 consecutive-numbers-sum πŸ“ Hard
857 positions-of-large-groups πŸ“ Easy
858 masking-personal-information πŸ“ Medium
859 design-circular-deque Medium
860 design-circular-queue πŸ“ Medium
861 flipping-an-image πŸ“ Easy
862 find-and-replace-in-string πŸ“ Medium
863 sum-of-distances-in-tree πŸ“ Hard
864 image-overlap πŸ“ Medium
865 robot-room-cleaner πŸ”’ πŸ“ Hard
866 rectangle-overlap πŸ“ Easy
867 new-21-game πŸ“ Medium
868 push-dominoes πŸ“ Medium
869 similar-string-groups πŸ“ Hard
870 magic-squares-in-grid πŸ“ Medium
871 keys-and-rooms πŸ“ Medium
872 split-array-into-fibonacci-sequence πŸ“ Medium
873 guess-the-word Hard
874 backspace-string-compare πŸ“ Easy
875 longest-mountain-in-array πŸ“ Medium
876 hand-of-straights πŸ“ Medium
877 shortest-path-visiting-all-nodes πŸ“ Hard
878 shifting-letters πŸ“ Medium
879 maximize-distance-to-closest-person πŸ“ Medium
880 rectangle-area-ii πŸ“ Hard
881 loud-and-rich πŸ“ Medium
882 peak-index-in-a-mountain-array πŸ“ Medium
883 car-fleet πŸ“ Medium
884 k-similar-strings πŸ“ Hard
885 exam-room πŸ“ Medium
886 score-of-parentheses πŸ“ Medium
887 minimum-cost-to-hire-k-workers πŸ“ Hard
888 mirror-reflection πŸ“ Medium
889 buddy-strings πŸ“ Easy
890 lemonade-change πŸ“ Easy
891 score-after-flipping-matrix πŸ“ Medium
892 shortest-subarray-with-sum-at-least-k πŸ“ Hard
893 all-nodes-distance-k-in-binary-tree πŸ“ Medium
894 random-pick-with-blacklist πŸ“ Hard
895 shortest-path-to-get-all-keys πŸ“ Hard
896 smallest-subtree-with-all-the-deepest-nodes πŸ“ Medium
897 prime-palindrome πŸ“ Medium
898 transpose-matrix πŸ“ Easy
899 binary-gap πŸ“ Easy
900 reordered-power-of-2 πŸ“ Medium
901 advantage-shuffle πŸ“ Medium
902 minimum-number-of-refueling-stops πŸ“ Hard
903 implement-rand10-using-rand7 πŸ“ Medium
904 leaf-similar-trees πŸ“ Easy
905 length-of-longest-fibonacci-subsequence πŸ“ Medium
906 walking-robot-simulation πŸ“ Medium
907 koko-eating-bananas πŸ“ Medium
908 middle-of-the-linked-list πŸ“ Easy
909 stone-game πŸ“ Medium
910 nth-magical-number πŸ“ Hard
911 profitable-schemes πŸ“ Hard
912 random-pick-with-weight πŸ“ Medium
913 random-flip-matrix πŸ“ Medium
914 random-point-in-non-overlapping-rectangles πŸ“ Medium
915 generate-random-point-in-a-circle πŸ“ Medium
916 decoded-string-at-index πŸ“ Medium
917 boats-to-save-people πŸ“ Medium
918 reachable-nodes-in-subdivided-graph πŸ“ Hard
919 projection-area-of-3d-shapes πŸ“ Easy
920 uncommon-words-from-two-sentences πŸ“ Easy
921 spiral-matrix-iii πŸ“ Medium
922 possible-bipartition πŸ“ Medium
923 super-egg-drop πŸ“ Hard
924 fair-candy-swap πŸ“ Easy
925 construct-binary-tree-from-preorder-and-postorder-traversal πŸ“ Medium
926 find-and-replace-pattern πŸ“ Medium
927 sum-of-subsequence-widths πŸ“ Hard
928 surface-area-of-3d-shapes πŸ“ Easy
929 groups-of-special-equivalent-strings πŸ“ Medium
930 all-possible-full-binary-trees πŸ“ Medium
931 maximum-frequency-stack πŸ“ Hard
932 monotonic-array πŸ“ Easy
933 increasing-order-search-tree πŸ“ Easy
934 bitwise-ors-of-subarrays πŸ“ Medium
935 orderly-queue πŸ“ Hard
936 rle-iterator πŸ“ Medium
937 online-stock-span πŸ“ Medium
938 numbers-at-most-n-given-digit-set πŸ“ Hard
939 valid-permutations-for-di-sequence πŸ“ Hard
940 fruit-into-baskets πŸ“ Medium
941 sort-array-by-parity πŸ“ Easy
942 super-palindromes πŸ“ Hard
943 sum-of-subarray-minimums πŸ“ Medium
944 smallest-range-i πŸ“ Easy
945 snakes-and-ladders πŸ“ Medium
946 smallest-range-ii πŸ“ Medium
947 online-election πŸ“ Medium
948 sort-an-array πŸ“ Medium
949 cat-and-mouse πŸ“ Hard
950 x-of-a-kind-in-a-deck-of-cards πŸ“ Easy
951 partition-array-into-disjoint-intervals πŸ“ Medium
952 word-subsets πŸ“ Medium
953 reverse-only-letters πŸ“ Easy
954 maximum-sum-circular-subarray πŸ“ Medium
955 complete-binary-tree-inserter πŸ“ Medium
956 number-of-music-playlists πŸ“ Hard
957 minimum-add-to-make-parentheses-valid πŸ“ Medium
958 sort-array-by-parity-ii πŸ“ Easy
959 3sum-with-multiplicity πŸ“ Medium
960 minimize-malware-spread πŸ“ Hard
961 long-pressed-name πŸ“ Easy
962 flip-string-to-monotone-increasing πŸ“ Medium
963 three-equal-parts πŸ“ Hard
964 minimize-malware-spread-ii πŸ“ Hard
965 unique-email-addresses πŸ“ Easy
966 binary-subarrays-with-sum πŸ“ Medium
967 minimum-falling-path-sum πŸ“ Medium
968 beautiful-array πŸ“ Medium
969 number-of-recent-calls πŸ“ Easy
971 shortest-bridge πŸ“ Medium
972 knight-dialer πŸ“ Medium
973 stamping-the-sequence πŸ“ Hard
974 reorder-data-in-log-files πŸ“ Medium
975 range-sum-of-bst πŸ“ Easy
976 minimum-area-rectangle πŸ“ Medium
977 distinct-subsequences-ii πŸ“ Hard
978 valid-mountain-array πŸ“ Easy
979 di-string-match πŸ“ Easy
980 find-the-shortest-superstring πŸ“ Hard
981 delete-columns-to-make-sorted πŸ“ Easy
982 minimum-increment-to-make-array-unique πŸ“ Medium
983 validate-stack-sequences πŸ“ Medium
984 most-stones-removed-with-same-row-or-column πŸ“ Medium
985 bag-of-tokens πŸ“ Medium
986 largest-time-for-given-digits πŸ“ Medium
987 reveal-cards-in-increasing-order πŸ“ Medium
988 flip-equivalent-binary-trees πŸ“ Medium
989 largest-component-size-by-common-factor πŸ“ Hard
990 verifying-an-alien-dictionary πŸ“ Easy
991 array-of-doubled-pairs πŸ“ Medium
992 delete-columns-to-make-sorted-ii πŸ“ Medium
993 tallest-billboard πŸ“ Hard
994 prison-cells-after-n-days πŸ“ Medium
998 check-completeness-of-a-binary-tree πŸ“ Medium
999 regions-cut-by-slashes πŸ“ Medium
1000 delete-columns-to-make-sorted-iii πŸ“ Hard
1001 n-repeated-element-in-size-2n-array πŸ“ Easy
1002 maximum-width-ramp πŸ“ Medium
1003 minimum-area-rectangle-ii πŸ“ Medium
1004 least-operators-to-express-number πŸ“ Hard
1005 univalued-binary-tree πŸ“ Easy
1006 vowel-spellchecker πŸ“ Medium
1007 numbers-with-same-consecutive-differences πŸ“ Medium
1008 binary-tree-cameras πŸ“ Hard
1009 pancake-sorting πŸ“ Medium
1010 powerful-integers πŸ“ Medium
1011 flip-binary-tree-to-match-preorder-traversal πŸ“ Medium
1012 equal-rational-numbers πŸ“ Hard
1013 fibonacci-number πŸ“ Easy
1014 k-closest-points-to-origin πŸ“ Medium
1016 subarray-sums-divisible-by-k πŸ“ Medium
1017 odd-even-jump πŸ“ Hard
1018 largest-perimeter-triangle πŸ“ Easy
1019 squares-of-a-sorted-array πŸ“ Easy
1020 longest-turbulent-subarray πŸ“ Medium
1021 distribute-coins-in-binary-tree πŸ“ Medium
1022 unique-paths-iii πŸ“ Hard
1023 time-based-key-value-store πŸ“ Medium
1024 triples-with-bitwise-and-equal-to-zero Hard
1025 minimum-cost-for-tickets πŸ“ Medium
1026 string-without-aaa-or-bbb πŸ“ Medium
1027 sum-of-even-numbers-after-queries πŸ“ Medium
1028 interval-list-intersections πŸ“ Medium
1029 vertical-order-traversal-of-a-binary-tree πŸ“ Hard
1030 smallest-string-starting-from-leaf πŸ“ Medium
1031 add-to-array-form-of-integer Python3 πŸ“ Easy
1032 satisfiability-of-equality-equations πŸ“ Medium
1033 broken-calculator πŸ“ Medium
1034 subarrays-with-k-different-integers πŸ“ Hard
1035 cousins-in-binary-tree πŸ“ Easy
1036 rotting-oranges πŸ“ Medium
1037 minimum-number-of-k-consecutive-bit-flips πŸ“ Hard
1038 number-of-squareful-arrays πŸ“ Hard
1039 find-the-town-judge πŸ“ Easy
1040 maximum-binary-tree-ii Medium
1041 available-captures-for-rook Easy
1042 minimum-cost-to-merge-stones Hard
1043 grid-illumination Hard
1044 find-common-characters Easy
1045 check-if-word-is-valid-after-substitutions Medium
1046 max-consecutive-ones-iii πŸ“ Medium
1047 maximize-sum-of-array-after-k-negations Easy
1048 clumsy-factorial Medium
1049 minimum-domino-rotations-for-equal-row πŸ“ Medium
1050 construct-binary-search-tree-from-preorder-traversal πŸ“ Medium
1051 shortest-way-to-form-string πŸ”’ πŸ“ Medium
1052 campus-bikes πŸ”’ πŸ“ Medium
1053 minimize-rounding-error-to-meet-target πŸ”’ Medium
1054 complement-of-base-10-integer πŸ“ Easy
1055 pairs-of-songs-with-total-durations-divisible-by-60 πŸ“ Medium
1056 capacity-to-ship-packages-within-d-days Python3 πŸ“ Medium
1057 numbers-with-repeated-digits Hard
1058 lexicographically-smallest-equivalent-string πŸ“ Medium
1059 missing-element-in-sorted-array πŸ”’ πŸ“ Medium
1060 longest-repeating-substring πŸ”’ πŸ“ Medium
1061 number-of-valid-subarrays πŸ”’ Hard
1062 partition-array-into-three-parts-with-equal-sum Easy
1063 best-sightseeing-pair Medium
1064 smallest-integer-divisible-by-k πŸ“ Medium
1065 binary-string-with-substrings-representing-1-to-n Medium
1066 fixed-point πŸ”’ πŸ“ Easy
1067 campus-bikes-ii πŸ”’ πŸ“ Medium
1068 digit-count-in-range πŸ”’ Hard
1069 confusing-number πŸ”’ πŸ“ Easy
1070 convert-to-base-2 Medium
1071 binary-prefix-divisible-by-5 Easy
1072 next-greater-node-in-linked-list πŸ“ Medium
1073 number-of-enclaves Medium
1074 high-five πŸ”’ πŸ“ Easy
1075 index-pairs-of-a-string πŸ”’ πŸ“ Easy
1076 brace-expansion πŸ”’ πŸ“ Medium
1077 confusing-number-ii πŸ”’ πŸ“ Hard
1078 remove-outermost-parentheses Easy
1079 sum-of-root-to-leaf-binary-numbers πŸ“ Easy
1080 camelcase-matching Medium
1081 video-stitching Medium
1082 sum-of-digits-in-the-minimum-number πŸ”’ Easy
1083 two-sum-less-than-k πŸ”’ πŸ“ Easy
1084 find-k-length-substrings-with-no-repeated-characters πŸ”’ πŸ“ Medium
1085 the-earliest-moment-when-everyone-become-friends πŸ”’ πŸ“ Medium
1086 divisor-game Easy
1087 longest-arithmetic-subsequence Medium
1088 number-of-days-in-a-month πŸ”’ Easy
1089 remove-vowels-from-a-string πŸ”’ Easy
1090 armstrong-number πŸ”’ πŸ“ Easy
1091 maximum-average-subtree πŸ”’ πŸ“ Medium
1092 maximum-difference-between-node-and-ancestor πŸ“ Medium
1093 recover-a-tree-from-preorder-traversal Hard
1094 matrix-cells-in-distance-order Easy
1095 two-city-scheduling πŸ“ Medium
1096 maximum-sum-of-two-non-overlapping-subarrays Medium
1097 stream-of-characters πŸ“ Hard
1098 largest-unique-number πŸ”’ πŸ“ Easy
1099 path-with-maximum-minimum-value πŸ”’ πŸ“ Medium
1100 connecting-cities-with-minimum-cost πŸ”’ πŸ“ Medium
1101 parallel-courses πŸ”’ πŸ“ Medium
1102 check-if-a-number-is-majority-element-in-a-sorted-array πŸ”’ Easy
1103 moving-stones-until-consecutive Medium
1104 coloring-a-border Medium
1105 uncrossed-lines Medium
1106 escape-a-large-maze Hard
1107 minimum-swaps-to-group-all-1s-together πŸ”’ πŸ“ Medium
1108 analyze-user-website-visit-pattern πŸ”’ Medium
1111 minimum-score-triangulation-of-polygon Medium
1112 find-words-that-can-be-formed-by-characters Easy
1113 moving-stones-until-consecutive-ii Python3 Medium
1114 binary-search-tree-to-greater-sum-tree Medium
1115 valid-boomerang Easy
1116 maximum-level-sum-of-a-binary-tree πŸ“ Medium
1117 as-far-from-land-as-possible Python3 πŸ“ Medium
1118 divide-array-into-increasing-sequences πŸ”’ Hard
1119 robot-bounded-in-circle πŸ“ Medium
1120 flower-planting-with-no-adjacent Medium
1121 partition-array-for-maximum-sum Medium
1122 longest-duplicate-substring πŸ“ Hard
1123 single-row-keyboard πŸ”’ πŸ“ Easy
1124 string-transforms-into-another-string πŸ”’ πŸ“ Hard
1125 design-file-system πŸ”’ πŸ“ Medium
1126 minimum-cost-to-connect-sticks πŸ”’ πŸ“ Medium
1127 last-stone-weight πŸ“ Easy
1128 remove-all-adjacent-duplicates-in-string πŸ“ Easy
1129 longest-string-chain πŸ“ Medium
1130 last-stone-weight-ii Medium
1131 count-substrings-with-only-one-distinct-letter πŸ”’ πŸ“ Easy
1132 before-and-after-puzzle πŸ”’ Medium
1133 last-substring-in-lexicographical-order Hard
1134 shortest-distance-to-target-color πŸ”’ πŸ“ Medium
1137 height-checker Easy
1138 grumpy-bookstore-owner Medium
1139 previous-permutation-with-one-swap Medium
1140 distant-barcodes Medium
1141 how-many-apples-can-you-put-into-the-basket πŸ”’ πŸ“ Easy
1142 minimum-knight-moves πŸ”’ πŸ“ Medium
1143 find-smallest-common-element-in-all-rows πŸ”’ πŸ“ Medium
1144 optimize-water-distribution-in-a-village πŸ”’ πŸ“ Hard
1145 number-of-submatrices-that-sum-to-target πŸ“ Hard
1146 greatest-common-divisor-of-strings πŸ“ Easy
1147 flip-columns-for-maximum-number-of-equal-rows Medium
1148 adding-two-negabinary-numbers Medium
1149 intersection-of-three-sorted-arrays πŸ”’ πŸ“ Easy
1150 two-sum-bsts πŸ”’ πŸ“ Medium
1151 stepping-numbers πŸ”’ Medium
1152 maximum-number-of-ones πŸ”’ Hard
1156 occurrences-after-bigram Easy
1157 insufficient-nodes-in-root-to-leaf-paths Medium
1159 smallest-subsequence-of-distinct-characters Medium
1160 letter-tile-possibilities Medium
1164 missing-number-in-arithmetic-progression πŸ”’ πŸ“ Easy
1165 meeting-scheduler πŸ”’ πŸ“ Medium
1166 toss-strange-coins πŸ”’ Medium
1167 minimum-time-to-build-blocks πŸ”’ Hard
1168 duplicate-zeros πŸ“ Easy
1169 largest-values-from-labels Medium
1170 shortest-common-supersequence Hard
1171 shortest-path-in-binary-matrix πŸ“ Medium
1175 array-transformation πŸ”’ Easy
1176 design-a-leaderboard πŸ”’ πŸ“ Medium
1177 tree-diameter πŸ”’ πŸ“ Medium
1178 valid-palindrome-iii πŸ”’ πŸ“ Hard
1183 statistics-from-a-large-sample Medium
1184 car-pooling πŸ“ Medium
1185 find-in-mountain-array Hard
1188 brace-expansion-ii Hard
1189 encode-number πŸ”’ Medium
1190 smallest-common-region πŸ”’ Medium
1191 synonymous-sentences πŸ”’ Medium
1192 divide-chocolate πŸ”’ πŸ“ Hard
1194 path-in-zigzag-labelled-binary-tree Medium
1195 distribute-candies-to-people πŸ“ Easy
1196 filling-bookcase-shelves Medium
1197 parsing-a-boolean-expression Hard
1199 hexspeak πŸ”’ Easy
1200 remove-interval πŸ”’ πŸ“ Medium
1201 delete-tree-nodes πŸ”’ Medium
1202 palindrome-removal πŸ”’ Hard
1205 defanging-an-ip-address Easy
1206 corporate-flight-bookings Medium
1207 delete-nodes-and-return-forest Medium
1208 maximum-nesting-depth-of-two-valid-parentheses-strings Medium
1210 mean-of-array-after-removing-some-elements Easy
1211 iterator-for-combination πŸ“ Medium
1212 sequential-digits πŸ“ Medium
1213 handshakes-that-dont-cross πŸ”’ πŸ“ Hard
1217 relative-sort-array Easy
1218 lowest-common-ancestor-of-deepest-leaves Medium
1219 longest-well-performing-interval Python3 Medium
1220 smallest-sufficient-team Hard
1221 element-appearing-more-than-25-in-sorted-array Easy
1222 remove-covered-intervals πŸ“ Medium
1223 graph-connectivity-with-threshold Hard
1224 minimum-falling-path-sum-ii Hard
1227 number-of-equivalent-domino-pairs Easy
1228 minimum-cost-tree-from-leaf-values Medium
1229 shortest-path-with-alternating-colors Python3 πŸ“ Medium
1230 maximum-of-absolute-value-expression Medium
1231 replace-elements-with-greatest-element-on-right-side Easy
1232 sum-of-mutated-array-closest-to-target Medium
1233 number-of-ships-in-a-rectangle πŸ”’ πŸ“ Hard
1234 number-of-paths-with-max-score Hard
1236 n-th-tribonacci-number πŸ“ Easy
1238 alphabet-board-path Python3 Medium
1239 largest-1-bordered-square Medium
1240 stone-game-ii Python3 Medium
1241 decompress-run-length-encoded-list Easy
1242 matrix-block-sum Medium
1243 sum-of-nodes-with-even-valued-grandparent Medium
1244 distinct-echo-substrings Hard
1247 decrease-elements-to-make-array-zigzag Medium
1248 binary-tree-coloring-game Medium
1249 snapshot-array Medium
1250 longest-common-subsequence πŸ“ Medium
1251 longest-chunked-palindrome-decomposition Hard
1252 break-a-palindrome πŸ“ Medium
1253 sort-the-matrix-diagonally πŸ“ Medium
1254 deepest-leaves-sum πŸ“ Medium
1255 reverse-subarray-to-maximize-array-value Hard
1256 rank-transform-of-an-array Easy
1257 rank-transform-of-a-matrix πŸ“ Hard
1260 day-of-the-year Easy
1261 swap-for-longest-repeated-character-substring Medium
1262 online-majority-element-in-subarray Hard
1263 number-of-dice-rolls-with-target-sum πŸ“ Medium
1264 maximum-number-of-words-you-can-type Easy
1267 remove-zero-sum-consecutive-nodes-from-linked-list Medium
1270 dinner-plate-stacks Hard
1271 web-crawler πŸ”’ πŸ“ Medium
1272 invalid-transactions Medium
1273 compare-strings-by-frequency-of-the-smallest-character Medium
1274 number-of-days-between-two-dates Easy
1275 validate-binary-tree-nodes Medium
1276 closest-divisors Medium
1277 largest-multiple-of-three Hard
1279 prime-arrangements Easy
1280 diet-plan-performance πŸ”’ Easy
1281 can-make-palindrome-from-substring Medium
1282 number-of-valid-words-for-each-puzzle πŸ“ Hard
1283 reformat-date Easy
1284 four-divisors Medium
1285 balance-a-binary-search-tree Medium
1286 constrained-subsequence-sum Hard
1287 distance-between-bus-stops Easy
1288 maximum-subarray-sum-with-one-deletion Medium
1289 day-of-the-week Easy
1290 make-array-strictly-increasing Hard
1293 three-consecutive-odds Easy
1294 range-frequency-queries Medium
1295 minimum-garden-perimeter-to-collect-enough-apples Medium
1296 kth-ancestor-of-a-tree-node Hard
1297 maximum-number-of-balloons πŸ“ Easy
1298 reverse-substrings-between-each-pair-of-parentheses Medium
1299 k-concatenation-maximum-sum Medium
1300 critical-connections-in-a-network πŸ“ Hard
1302 delete-characters-to-make-fancy-string Easy
1303 minimum-moves-to-reach-target-score Medium
1304 longest-happy-string Medium
1305 number-of-visible-people-in-a-queue Hard
1306 minimum-absolute-difference πŸ“ Easy
1307 ugly-number-iii Medium
1308 smallest-string-with-swaps πŸ“ Medium
1309 sort-items-by-groups-respecting-dependencies Hard
1310 watering-plants Medium
1311 largest-magic-square Medium
1312 count-artifacts-that-can-be-extracted Medium
1313 count-ways-to-build-rooms-in-an-ant-colony Hard
1319 unique-number-of-occurrences πŸ“ Easy
1320 remove-all-adjacent-duplicates-in-string-ii πŸ“ Medium
1321 get-equal-substrings-within-budget Medium
1322 minimum-moves-to-reach-target-with-rotations Hard
1324 where-will-the-ball-fall πŸ“ Medium
1325 path-with-maximum-probability Medium
1326 sum-of-floored-pairs Hard
1329 minimum-cost-to-move-chips-to-the-same-position πŸ“ Easy
1330 longest-arithmetic-subsequence-of-given-difference Medium
1331 path-with-maximum-gold Medium
1332 count-vowels-permutation πŸ“ Hard
1333 sort-the-jumbled-numbers Medium
1334 sum-of-numbers-with-units-digit-k Medium
1335 maximum-candies-allocated-to-k-children Medium
1336 maximum-product-of-the-length-of-two-palindromic-substrings Hard
1337 design-skiplist Hard
1341 split-a-string-in-balanced-strings Easy
1342 queens-that-can-attack-the-king Medium
1343 dice-roll-simulation Hard
1344 maximum-equal-frequency Hard
1345 perform-string-shifts πŸ”’ πŸ“ Easy
1346 maximize-the-topmost-element-after-k-moves Medium
1347 distance-to-a-cycle-in-undirected-graph πŸ”’ Hard
1348 maximum-score-of-spliced-array Hard
1349 check-if-it-is-a-straight-line Easy
1350 remove-sub-folders-from-the-filesystem Medium
1351 replace-the-substring-for-balanced-string Medium
1352 maximum-profit-in-job-scheduling πŸ“ Hard
1353 find-resultant-array-after-removing-anagrams Easy
1354 find-players-with-zero-or-one-losses πŸ“ Medium
1355 minimum-deletions-to-make-array-beautiful Medium
1356 minimum-number-of-moves-to-make-palindrome Hard
1358 find-positive-integer-solution-for-a-given-equation Medium
1359 circular-permutation-in-binary-representation Medium
1360 maximum-length-of-a-concatenated-string-with-unique-characters πŸ“ Medium
1361 tiling-a-rectangle-with-the-fewest-squares Hard
1362 airplane-seat-assignment-probability Medium
1363 greatest-english-letter-in-upper-and-lower-case Easy
1364 tuple-with-same-product Medium
1366 first-unique-number πŸ”’ πŸ“ Medium
1367 maximum-height-by-stacking-cuboids Hard
1369 minimum-swaps-to-make-strings-equal Medium
1370 count-number-of-nice-subarrays Medium
1371 minimum-remove-to-make-valid-parentheses πŸ“ Medium
1372 check-if-it-is-a-good-array Python3 Hard
1374 leftmost-column-with-at-least-a-one πŸ”’ πŸ“ Medium
1375 find-palindrome-with-fixed-length Medium
1376 selling-pieces-of-wood Hard
1378 cells-with-odd-values-in-a-matrix Easy
1379 reconstruct-a-2-row-binary-matrix Medium
1380 number-of-closed-islands πŸ“ Medium
1381 maximum-score-words-formed-by-letters Hard
1382 calculate-amount-paid-in-taxes Easy
1383 number-of-single-divisor-triplets πŸ”’ Medium
1384 maximum-font-to-fit-a-sentence-in-a-screen πŸ”’ Medium
1385 number-of-ways-to-build-house-of-cards πŸ”’ Medium
1386 shift-2d-grid πŸ“ Easy
1387 find-elements-in-a-contaminated-binary-tree Medium
1388 greatest-sum-divisible-by-three Medium
1389 minimum-moves-to-move-a-box-to-their-target-location Hard
1391 counting-elements πŸ”’ πŸ“ Easy
1392 find-the-difference-of-two-arrays Easy
1393 maximum-value-of-k-coins-from-piles Hard
1394 minimum-path-cost-in-a-grid Medium
1395 minimum-time-visiting-all-points Easy
1396 count-servers-that-communicate Medium
1397 search-suggestions-system πŸ“ Medium
1398 number-of-ways-to-stay-in-the-same-place-after-some-steps Hard
1400 find-winner-on-a-tic-tac-toe-game πŸ“ Easy
1401 number-of-burgers-with-no-waste-of-ingredients Medium
1402 count-square-submatrices-with-all-ones Medium
1403 palindrome-partitioning-iii Hard
1404 print-immutable-linked-list-in-reverse πŸ”’ Medium
1406 subtract-the-product-and-sum-of-digits-of-an-integer Easy
1407 group-the-people-given-the-group-size-they-belong-to Medium
1408 find-the-smallest-divisor-given-a-threshold πŸ“ Medium
1409 minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix πŸ“ Hard
1411 convert-binary-number-in-a-linked-list-to-integer πŸ“ Easy
1413 maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold Medium
1414 shortest-path-in-a-grid-with-obstacles-elimination πŸ“ Hard
1416 check-if-an-array-is-consecutive πŸ”’ Easy
1418 fair-distribution-of-cookies Medium
1419 make-array-non-decreasing-or-non-increasing πŸ”’ Hard
1421 find-numbers-with-even-number-of-digits Easy
1422 divide-array-in-sets-of-k-consecutive-numbers Medium
1423 maximum-number-of-occurrences-of-a-substring Medium
1424 maximum-candies-you-can-get-from-boxes Hard
1426 find-n-unique-integers-sum-up-to-zero Easy
1427 all-elements-in-two-binary-search-trees πŸ“ Medium
1428 jump-game-iii πŸ“ Medium
1429 verbal-arithmetic-puzzle Hard
1430 find-the-k-beauty-of-a-number Easy
1431 all-ancestors-of-a-node-in-a-directed-acyclic-graph Medium
1432 check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree πŸ”’ Medium
1433 encrypt-and-decrypt-strings Hard
1434 decrypt-string-from-alphabet-to-integer-mapping Easy
1435 xor-queries-of-a-subarray Medium
1436 get-watched-videos-by-your-friends Medium
1437 minimum-insertion-steps-to-make-a-string-palindrome Hard
1440 convert-integer-to-the-sum-of-two-no-zero-integers Easy
1441 minimum-flips-to-make-a-or-b-equal-to-c Medium
1442 number-of-operations-to-make-network-connected πŸ“ Medium
1443 minimum-distance-to-type-a-word-using-two-fingers Hard
1444 number-of-steps-to-reduce-a-number-to-zero πŸ“ Easy
1445 number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold Medium
1446 angle-between-hands-of-a-clock πŸ“ Medium
1447 jump-game-iv πŸ“ Hard
1448 maximum-69-number πŸ“ Easy
1449 print-words-vertically Medium
1450 delete-leaves-with-a-given-value Medium
1451 minimum-number-of-taps-to-open-to-water-a-garden Hard
1454 remove-palindromic-subsequences πŸ“ Easy
1455 filter-restaurants-by-vegan-friendly-price-and-distance Medium
1456 find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance Medium
1457 minimum-difficulty-of-a-job-schedule πŸ“ Hard
1458 sort-integers-by-the-number-of-1-bits Easy
1459 apply-discount-every-n-orders Medium
1460 number-of-substrings-containing-all-three-characters Medium
1461 count-all-valid-pickup-and-delivery-options πŸ“ Hard
1463 the-k-weakest-rows-in-a-matrix πŸ“ Easy
1464 reduce-array-size-to-the-half πŸ“ Medium
1465 maximum-product-of-splitted-binary-tree πŸ“ Medium
1466 jump-game-v Hard
1468 check-if-n-and-its-double-exist Easy
1469 minimum-number-of-steps-to-make-two-strings-anagram Medium
1470 tweet-counts-per-frequency Medium
1471 maximum-students-taking-exam Hard
1472 increasing-decreasing-string Easy
1473 find-the-longest-substring-containing-vowels-in-even-counts Medium
1474 longest-zigzag-path-in-a-binary-tree Medium
1475 maximum-sum-bst-in-binary-tree Hard
1476 count-negative-numbers-in-a-sorted-matrix Easy
1477 product-of-the-last-k-numbers Medium
1478 maximum-number-of-events-that-can-be-attended Medium
1479 construct-target-array-with-multiple-sums πŸ“ Hard
1482 how-many-numbers-are-smaller-than-the-current-number Easy
1483 rank-teams-by-votes Medium
1484 linked-list-in-binary-tree Medium
1485 minimum-cost-to-make-at-least-one-valid-path-in-a-grid Hard
1486 find-the-distance-value-between-two-arrays Easy
1487 cinema-seat-allocation Medium
1488 sort-integers-by-the-power-value Medium
1489 pizza-with-3n-slices Hard
1490 generate-a-string-with-characters-that-have-odd-counts Easy
1491 number-of-times-binary-string-is-prefix-aligned Medium
1492 time-needed-to-inform-all-employees Medium
1493 frog-position-after-t-seconds Hard
1496 lucky-numbers-in-a-matrix Easy
1497 design-a-stack-with-increment-operation Medium
1498 find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree πŸ“ Easy
1499 maximum-performance-of-a-team πŸ“ Hard
1500 count-largest-group Easy
1501 circle-and-rectangle-overlapping Medium
1502 construct-k-palindrome-strings Medium
1503 reducing-dishes πŸ“ Hard
1505 create-target-array-in-the-given-order Easy
1507 check-if-there-is-a-valid-path-in-a-grid Medium
1508 longest-happy-prefix Hard
1510 find-lucky-integer-in-an-array πŸ“ Easy
1511 count-number-of-teams Medium
1512 design-underground-system πŸ“ Medium
1513 find-all-good-strings Hard
1514 minimum-value-to-get-positive-step-by-step-sum πŸ“ Easy
1515 find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k Medium
1516 the-k-th-lexicographical-string-of-all-happy-strings-of-length-n Medium
1517 restore-the-array Hard
1519 minimum-subsequence-in-non-increasing-order Easy
1520 number-of-steps-to-reduce-a-number-in-binary-representation-to-one Medium
1522 stone-game-iii Hard
1524 string-matching-in-an-array Easy
1525 queries-on-a-permutation-with-key Medium
1526 html-entity-parser Medium
1527 number-of-ways-to-paint-n-3-grid Hard
1528 kids-with-the-greatest-number-of-candies πŸ“ Easy
1529 max-difference-you-can-get-from-changing-an-integer Medium
1530 check-if-a-string-can-break-another-string Medium
1531 number-of-ways-to-wear-different-hats-to-each-other Hard
1532 reformat-the-string Easy
1533 display-table-of-food-orders-in-a-restaurant Medium
1534 minimum-number-of-frogs-croaking Medium
1535 build-array-where-you-can-find-the-maximum-exactly-k-comparisons Hard
1537 maximum-score-after-splitting-a-string Easy
1538 maximum-points-you-can-obtain-from-cards πŸ“ Medium
1539 diagonal-traverse-ii Medium
1542 consecutive-characters πŸ“ Easy
1543 simplified-fractions Medium
1544 count-good-nodes-in-binary-tree πŸ“ Medium
1545 form-largest-integer-with-digits-that-add-up-to-target Hard
1547 destination-city Easy
1548 check-if-all-1s-are-at-least-length-k-places-away πŸ“ Easy
1549 longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit Medium
1550 find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows Hard
1552 build-an-array-with-stack-operations Medium
1553 count-triplets-that-can-form-two-arrays-of-equal-xor Medium
1554 minimum-time-to-collect-all-apples-in-a-tree πŸ“ Medium
1555 number-of-ways-of-cutting-a-pizza πŸ“ Hard
1556 make-two-arrays-equal-by-reversing-subarrays Easy
1557 check-if-a-string-contains-all-binary-codes-of-size-k πŸ“ Medium
1558 course-schedule-iv Medium
1559 cherry-pickup-ii πŸ“ Hard
1560 number-of-students-doing-homework-at-a-given-time Easy
1561 rearrange-words-in-a-sentence Medium
1562 people-whose-list-of-favorite-companies-is-not-a-subset-of-another-list Medium
1563 maximum-number-of-darts-inside-of-a-circular-dartboard Hard
1566 check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence Easy
1567 maximum-number-of-vowels-in-a-substring-of-given-length Medium
1568 pseudo-palindromic-paths-in-a-binary-tree πŸ“ Medium
1569 max-dot-product-of-two-subsequences Hard
1570 final-prices-with-a-special-discount-in-a-shop Easy
1571 allocate-mailboxes Hard
1572 subrectangle-queries Medium
1573 find-two-non-overlapping-sub-arrays-each-with-target-sum Medium
1574 maximum-product-of-two-elements-in-an-array Easy
1575 maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts πŸ“ Medium
1576 reorder-routes-to-make-all-paths-lead-to-the-city-zero πŸ“ Medium
1577 probability-of-a-two-boxes-having-the-same-number-of-distinct-balls Hard
1580 shuffle-the-array πŸ“ Easy
1581 the-k-strongest-values-in-an-array Medium
1582 design-browser-history πŸ“ Medium
1583 paint-house-iii πŸ“ Hard
1584 average-salary-excluding-the-minimum-and-maximum-salary Easy
1585 the-kth-factor-of-n πŸ“ Medium
1586 longest-subarray-of-1s-after-deleting-one-element Medium
1587 parallel-courses-ii Hard
1603 running-sum-of-1d-array πŸ“ Easy
1604 least-number-of-unique-integers-after-k-removals Medium
1605 minimum-number-of-days-to-make-m-bouquets Medium
1609 find-all-the-lonely-nodes πŸ”’ Easy
1610 xor-operation-in-an-array Easy
1611 making-file-names-unique Medium
1612 avoid-flood-in-the-city Medium
1613 find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree Hard
1615 range-sum-of-sorted-subarray-sums Medium
1616 minimum-difference-between-largest-and-smallest-value-in-three-moves Medium
1617 stone-game-iv πŸ“ Hard
1618 delete-n-nodes-after-m-nodes-of-a-linked-list πŸ”’ πŸ“ Easy
1619 path-crossing Easy
1620 check-if-array-pairs-are-divisible-by-k Medium
1621 number-of-subsequences-that-satisfy-the-given-sum-condition Medium
1622 max-value-of-equation Hard
1624 clone-binary-tree-with-random-pointer πŸ”’ πŸ“ Medium
1626 can-make-arithmetic-progression-from-sequence Easy
1627 last-moment-before-all-ants-fall-out-of-a-plank Medium
1628 count-submatrices-with-all-ones Medium
1629 minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits Hard
1630 count-odd-numbers-in-an-interval-range Python3 πŸ“ Easy
1631 number-of-sub-arrays-with-odd-sum Medium
1632 number-of-good-ways-to-split-a-string Medium
1633 minimum-number-of-increments-on-subarrays-to-form-a-target-array Hard
1634 clone-n-ary-tree πŸ”’ πŸ“ Medium
1635 number-of-good-pairs Easy
1636 number-of-substrings-with-only-1s Medium
1637 string-compression-ii πŸ“ Hard
1638 best-position-for-a-service-centre Hard
1640 design-a-file-sharing-system πŸ”’ Medium
1642 water-bottles Easy
1643 number-of-nodes-in-the-sub-tree-with-the-same-label πŸ“ Medium
1644 maximum-number-of-non-overlapping-substrings Hard
1645 find-a-value-of-a-mysterious-function-closest-to-target Hard
1646 kth-missing-positive-number πŸ“ Easy
1647 can-convert-string-in-k-moves Medium
1648 minimum-insertions-to-balance-a-parentheses-string Medium
1649 maximum-number-of-non-overlapping-subarrays-with-sum-equals-target Medium
1650 find-root-of-n-ary-tree πŸ”’ πŸ“ Medium
1651 shuffle-string Easy
1652 minimum-suffix-flips Medium
1653 number-of-good-leaf-nodes-pairs Medium
1655 move-sub-tree-of-n-ary-tree πŸ”’ Hard
1656 count-good-triplets Easy
1657 find-the-winner-of-an-array-game Medium
1658 minimum-swaps-to-arrange-a-binary-grid Medium
1659 get-the-maximum-score Hard
1660 thousand-separator Easy
1661 minimum-number-of-vertices-to-reach-all-nodes Medium
1662 minimum-numbers-of-function-calls-to-make-target-array Medium
1663 detect-cycles-in-2d-grid Medium
1665 diameter-of-n-ary-tree πŸ”’ πŸ“ Medium
1666 make-the-string-great πŸ“ Easy
1667 find-kth-bit-in-nth-binary-string Medium
1668 find-longest-awesome-substring Hard
1669 minimum-cost-to-cut-a-stick Hard
1672 find-the-index-of-the-large-integer πŸ”’ πŸ“ Medium
1674 minimum-operations-to-make-array-equal πŸ“ Medium
1675 magnetic-force-between-two-balls Medium
1676 minimum-number-of-days-to-eat-n-oranges Hard
1677 matrix-diagonal-sum Easy
1678 number-of-ways-to-split-a-string Medium
1679 shortest-subarray-to-be-removed-to-make-array-sorted Medium
1680 count-all-possible-routes Hard
1681 guess-the-majority-in-a-hidden-array πŸ”’ πŸ“ Medium
1682 most-visited-sector-in-a-circular-track Easy
1683 maximum-number-of-coins-you-can-get Medium
1684 find-latest-group-of-size-m Medium
1685 stone-game-v Hard
1687 the-most-similar-path-in-a-graph πŸ”’ πŸ“ Hard
1689 detect-pattern-of-length-m-repeated-k-or-more-times Easy
1690 maximum-length-of-subarray-with-positive-product Medium
1691 minimum-number-of-days-to-disconnect-island Hard
1692 number-of-ways-to-reorder-array-to-get-same-bst Hard
1693 sum-of-all-odd-length-subarrays πŸ“ Easy
1694 make-sum-divisible-by-p Medium
1695 maximum-sum-obtained-of-any-permutation Medium
1696 strange-printer-ii Hard
1697 strings-differ-by-one-character πŸ”’ Medium
1698 replace-all-s-to-avoid-consecutive-repeating-characters Easy
1699 number-of-ways-where-square-of-number-is-equal-to-product-of-two-numbers Medium
1700 minimum-time-to-make-rope-colorful πŸ“ Medium
1701 remove-max-number-of-edges-to-keep-graph-fully-traversable πŸ“ Hard
1703 put-boxes-into-the-warehouse-i πŸ”’ πŸ“ Medium
1704 special-positions-in-a-binary-matrix Easy
1705 count-unhappy-friends Medium
1706 min-cost-to-connect-all-points πŸ“ Medium
1707 check-if-string-is-transformable-with-substring-sort-operations Hard
1708 design-parking-system Easy
1709 alert-using-same-key-card-three-or-more-times-in-a-one-hour-period Medium
1710 find-servers-that-handled-most-number-of-requests πŸ“ Hard
1711 find-valid-matrix-given-row-and-column-sums Medium
1713 dot-product-of-two-sparse-vectors πŸ”’ πŸ“ Medium
1714 rearrange-spaces-between-words Easy
1715 split-a-string-into-the-max-number-of-unique-substrings Medium
1716 maximum-non-negative-product-in-a-matrix Medium
1717 minimum-cost-to-connect-two-groups-of-points Hard
1719 put-boxes-into-the-warehouse-ii πŸ”’ Medium
1720 crawler-log-folder Easy
1721 maximum-profit-of-operating-a-centennial-wheel Medium
1722 throne-inheritance Medium
1723 maximum-number-of-achievable-transfer-requests Hard
1725 number-of-sets-of-k-non-overlapping-line-segments Medium
1726 coordinate-with-maximum-network-quality Medium
1727 cat-and-mouse-ii Hard
1728 fancy-sequence Hard
1729 binary-search-tree-iterator-ii πŸ”’ πŸ“ Medium
1730 special-array-with-x-elements-greater-than-or-equal-x Easy
1731 even-odd-tree Medium
1732 minimum-one-bit-operations-to-make-integers-zero Hard
1733 maximum-number-of-visible-points Hard
1736 build-binary-expression-tree-from-infix-expression πŸ”’ Hard
1737 maximum-nesting-depth-of-the-parentheses Easy
1738 maximal-network-rank Medium
1739 split-two-strings-to-make-palindrome Medium
1740 count-subtrees-with-max-distance-between-cities Hard
1741 sort-array-by-increasing-frequency Easy
1742 widest-vertical-area-between-two-points-containing-no-points Medium
1743 count-substrings-that-differ-by-one-character Medium
1744 number-of-ways-to-form-a-target-string-given-a-dictionary Hard
1745 find-nearest-right-node-in-binary-tree πŸ”’ πŸ“ Medium
1746 largest-substring-between-two-equal-characters Easy
1747 lexicographically-smallest-string-after-applying-operations Medium
1748 best-team-with-no-conflicts πŸ“ Medium
1750 check-if-two-expression-trees-are-equivalent πŸ”’ Medium
1751 slowest-key πŸ“ Easy
1752 arithmetic-subarrays Medium
1753 path-with-minimum-effort πŸ“ Medium
1755 defuse-the-bomb Easy
1756 minimum-deletions-to-make-string-balanced Medium
1757 minimum-jumps-to-reach-home Medium
1758 distribute-repeating-integers Hard
1760 check-array-formation-through-concatenation πŸ“ Easy
1761 count-sorted-vowel-strings πŸ“ Medium
1762 furthest-building-you-can-reach πŸ“ Medium
1764 maximum-repeating-substring Easy
1765 merge-in-between-linked-lists Medium
1766 minimum-number-of-removals-to-make-mountain-array Hard
1767 design-front-middle-back-queue Medium
1768 design-an-expression-tree-with-evaluate-function πŸ”’ Medium
1769 get-maximum-in-generated-array πŸ“ Easy
1770 minimum-deletions-to-make-character-frequencies-unique πŸ“ Medium
1771 sell-diminishing-valued-colored-balls Medium
1772 create-sorted-array-through-instructions πŸ“ Hard
1774 add-two-polynomials-represented-as-linked-lists πŸ”’ Medium
1775 design-an-ordered-stream Easy
1776 minimum-operations-to-reduce-x-to-zero πŸ“ Medium
1777 determine-if-two-strings-are-close πŸ“ Medium
1778 maximize-grid-happiness Hard
1780 lowest-common-ancestor-of-a-binary-tree-ii πŸ”’ Medium
1781 check-if-two-string-arrays-are-equivalent πŸ“ Easy
1782 smallest-string-with-a-given-numeric-value πŸ“ Medium
1783 ways-to-make-a-fair-array Medium
1784 minimum-initial-energy-to-finish-tasks Hard
1786 count-the-number-of-consistent-strings Easy
1787 sum-of-absolute-differences-in-a-sorted-array Medium
1788 stone-game-vi Medium
1789 delivering-boxes-from-storage-to-ports Hard
1790 lowest-common-ancestor-of-a-binary-tree-iii πŸ”’ Medium
1791 richest-customer-wealth πŸ“ Easy
1792 find-the-most-competitive-subsequence πŸ“ Medium
1793 minimum-moves-to-make-array-complementary Medium
1794 minimize-deviation-in-array Python3 πŸ“ Hard
1796 correct-a-binary-tree πŸ”’ Medium
1797 goal-parser-interpretation Easy
1798 max-number-of-k-sum-pairs πŸ“ Medium
1799 minimum-incompatibility Hard
1800 concatenation-of-consecutive-binary-numbers πŸ“ Medium
1802 number-of-students-unable-to-eat-lunch Easy
1803 average-waiting-time Medium
1804 maximum-binary-string-after-change Medium
1805 minimum-adjacent-swaps-for-k-consecutive-ones Hard
1806 count-of-matches-in-tournament Easy
1807 partitioning-into-minimum-number-of-deci-binary-numbers πŸ“ Medium
1808 stone-game-vii πŸ“ Medium
1809 sum-of-special-evenly-spaced-elements-in-array πŸ”’ Hard
1810 change-the-root-of-a-binary-tree πŸ”’ Medium
1812 reformat-phone-number Easy
1813 maximum-erasure-value πŸ“ Medium
1814 jump-game-vi πŸ“ Medium
1815 checking-existence-of-edge-length-limited-paths πŸ“ Hard
1816 lowest-common-ancestor-of-a-binary-tree-iv πŸ”’ Medium
1817 calculate-money-in-leetcode-bank Easy
1818 maximum-score-from-removing-substrings Medium
1819 construct-the-lexicographically-largest-valid-sequence Medium
1820 number-of-ways-to-reconstruct-a-tree Hard
1822 longest-palindromic-subsequence-ii πŸ”’ Medium
1823 determine-if-string-halves-are-alike πŸ“ Easy
1824 maximum-number-of-eaten-apples πŸ“ Medium
1825 find-minimum-time-to-finish-all-jobs Hard
1826 maximum-xor-with-an-element-from-array Hard
1828 count-ways-to-distribute-candies πŸ”’ Hard
1829 maximum-units-on-a-truck πŸ“ Easy
1830 count-good-meals Medium
1831 ways-to-split-array-into-three-subarrays πŸ“ Medium
1832 minimum-operations-to-make-a-subsequence Hard
1833 find-the-highest-altitude Easy
1834 minimum-number-of-people-to-teach Medium
1835 decode-xored-permutation Medium
1836 count-ways-to-make-array-with-product Hard
1838 number-of-distinct-substrings-in-a-string πŸ”’ Medium
1839 decode-xored-array Easy
1840 minimize-hamming-distance-after-swap-operations Medium
1843 number-of-rectangles-that-can-form-the-largest-square Easy
1844 maximum-number-of-balls-in-a-box Easy
1845 largest-submatrix-with-rearrangements Medium
1847 largest-subarray-length-k πŸ”’ Easy
1848 sum-of-unique-elements Easy
1849 maximum-absolute-sum-of-any-subarray Medium
1850 minimum-length-of-string-after-deleting-similar-ends Medium
1851 maximum-number-of-events-that-can-be-attended-ii Hard
1858 latest-time-by-replacing-hidden-digits Easy
1859 change-minimum-characters-to-satisfy-one-of-three-conditions Medium
1860 find-kth-largest-xor-coordinate-value Medium
1861 building-boxes Hard
1865 checking-existence-of-edge-length-limited-paths-ii πŸ”’ Hard
1866 restore-the-array-from-adjacent-pairs Medium
1871 palindrome-partitioning-iv Hard
1872 can-you-eat-your-favorite-candy-on-your-favorite-day Medium
1873 longest-nice-substring Easy
1874 form-array-by-concatenating-subarrays-of-another-array Medium
1875 tree-of-coprimes Hard
1876 map-of-highest-peak Medium
1878 check-if-array-is-sorted-and-rotated Easy
1879 maximum-score-from-removing-stones Medium
1880 largest-merge-of-two-strings Medium
1881 closest-subsequence-sum Hard
1883 find-distance-in-a-binary-tree πŸ”’ Medium
1884 minimum-changes-to-make-alternating-binary-string Easy
1885 count-number-of-homogenous-substrings Medium
1886 minimum-limit-of-balls-in-a-bag Medium
1887 minimum-degree-of-a-connected-trio-in-a-graph Hard
1888 find-nearest-point-that-has-the-same-x-or-y-coordinate Easy
1889 check-if-number-is-a-sum-of-powers-of-three Medium
1890 sum-of-beauty-of-all-substrings Medium
1891 count-pairs-of-nodes Hard
1893 maximum-subarray-sum-after-one-operation πŸ”’ Medium
1894 merge-strings-alternately πŸ“ Easy
1895 minimum-number-of-operations-to-move-all-balls-to-each-box Medium
1896 maximum-score-from-performing-multiplication-operations πŸ“ Hard
1897 maximize-palindrome-length-from-subsequences Hard
1899 count-items-matching-a-rule Easy
1900 closest-dessert-cost Medium
1901 equal-sum-arrays-with-minimum-number-of-operations Medium
1902 car-fleet-ii Hard
1903 design-most-recently-used-queue πŸ”’ Medium
1904 second-largest-digit-in-a-string Easy
1905 design-authentication-manager Medium
1906 maximize-score-after-n-operations Hard
1907 count-pairs-with-xor-in-a-range Hard
1909 buildings-with-an-ocean-view πŸ”’ πŸ“ Medium
1910 check-if-binary-string-has-at-most-one-segment-of-ones Easy
1911 minimum-elements-to-add-to-form-a-given-sum Medium
1912 number-of-restricted-paths-from-first-to-last-node Medium
1913 make-the-xor-of-all-segments-equal-to-zero Hard
1915 check-if-one-string-swap-can-make-strings-equal Easy
1916 find-center-of-star-graph Easy
1917 maximum-average-pass-ratio Medium
1918 maximum-score-of-a-good-subarray Hard
1919 sort-features-by-popularity πŸ”’ Medium
1920 determine-color-of-a-chessboard-square Easy
1923 sentence-similarity-iii Medium
1924 maximum-number-of-groups-getting-fresh-donuts Hard
1925 count-nice-pairs-in-an-array Medium
1927 maximum-ascending-subarray-sum Easy
1928 number-of-orders-in-the-backlog Medium
1929 maximum-value-at-a-given-index-in-a-bounded-array Medium
1930 maximum-number-of-consecutive-values-you-can-make Medium
1931 shortest-path-in-a-hidden-grid πŸ”’ Medium
1933 number-of-different-integers-in-a-string Easy
1934 evaluate-the-bracket-pairs-of-a-string Medium
1935 minimum-number-of-operations-to-reinitialize-a-permutation Medium
1936 maximize-number-of-nice-divisors Hard
1937 maximize-the-beauty-of-the-garden πŸ”’ Hard
1938 minimum-operations-to-make-the-array-increasing Easy
1939 queries-on-number-of-points-inside-a-circle Medium
1940 maximum-xor-for-each-query Medium
1941 minimum-number-of-operations-to-make-string-sorted Hard
1943 count-pairs-of-equal-substrings-with-minimum-difference πŸ”’ Medium
1944 truncate-sentence Easy
1945 finding-the-users-active-minutes Medium
1946 minimum-absolute-sum-difference Medium
1947 number-of-different-subsequences-gcds Hard
1949 implement-trie-ii-prefix-tree πŸ”’ Medium
1950 sign-of-the-product-of-an-array Easy
1951 find-the-winner-of-the-circular-game Medium
1952 minimum-sideway-jumps Medium
1953 finding-mk-average Hard
1954 replace-all-digits-with-characters Easy
1955 seat-reservation-manager Medium
1956 maximum-element-after-decreasing-and-rearranging Medium
1957 closest-room Hard
1959 minimum-path-cost-in-a-hidden-grid πŸ”’ Medium
1960 check-if-the-sentence-is-pangram πŸ“ Easy
1961 maximum-ice-cream-bars πŸ“ Medium
1962 single-threaded-cpu πŸ“ Medium
1963 find-xor-sum-of-all-pairs-bitwise-and Hard
1965 sum-of-digits-in-base-k Easy
1966 frequency-of-the-most-frequent-element Medium
1967 longest-substring-of-all-vowels-in-order Medium
1968 maximum-building-height Hard
1969 maximum-number-of-accepted-invitations πŸ”’ Medium
1970 sorting-the-sentence Easy
1971 incremental-memory-leak Medium
1972 rotating-the-box Medium
1975 minimum-distance-to-the-target-element Easy
1976 splitting-a-string-into-descending-consecutive-values Medium
1977 minimum-interval-to-include-each-query Hard
1978 minimum-adjacent-swaps-to-reach-the-kth-smallest-number Medium
1979 maximum-number-of-people-that-can-be-caught-in-tag πŸ”’ Medium
1980 faulty-sensor πŸ”’ Easy
1982 remove-duplicates-from-an-unsorted-linked-list πŸ”’ Medium
1983 maximum-population-year Easy
1984 maximum-distance-between-a-pair-of-values πŸ“ Medium
1985 maximum-subarray-min-product Medium
1986 largest-color-value-in-a-directed-graph Hard
1987 substrings-of-size-three-with-distinct-characters Easy
1988 minimize-maximum-pair-sum-in-array Medium
1989 minimum-xor-sum-of-two-arrays Hard
1990 get-biggest-three-rhombus-sums-in-a-grid Medium
1992 sort-linked-list-already-sorted-using-absolute-values πŸ”’ Medium
1993 sum-of-all-subset-xor-totals Easy
1994 minimum-number-of-swaps-to-make-the-binary-string-alternating Medium
1995 finding-pairs-with-a-certain-sum Medium
1996 number-of-ways-to-rearrange-sticks-with-k-sticks-visible Hard
1997 next-palindrome-using-same-digits πŸ”’ Hard
1999 longer-contiguous-segments-of-ones-than-zeros Easy
2000 minimum-speed-to-arrive-on-time Medium
2001 jump-game-vii Medium
2002 stone-game-viii Hard
2003 distinct-numbers-in-each-subarray πŸ”’ Medium
2005 check-if-all-the-integers-in-a-range-are-covered Easy
2006 find-the-student-that-will-replace-the-chalk Medium
2007 maximum-cost-of-trip-with-k-highways πŸ”’ Hard
2008 minimum-cost-to-change-the-final-value-of-expression Hard
2009 longest-word-with-all-prefixes πŸ”’ Medium
2010 check-if-word-equals-summation-of-two-words Easy
2011 maximum-value-after-insertion Medium
2012 process-tasks-using-servers Medium
2013 minimum-skips-to-arrive-at-meeting-on-time Hard
2015 determine-whether-matrix-can-be-obtained-by-rotation Easy
2016 reduction-operations-to-make-the-array-elements-equal Medium
2017 minimum-number-of-flips-to-make-the-binary-string-alternating Medium
2018 minimum-space-wasted-from-packaging Hard
2019 product-of-two-run-length-encoded-arrays πŸ”’ Medium
2020 remove-one-element-to-make-the-array-strictly-increasing Easy
2021 remove-all-occurrences-of-a-substring Medium
2022 maximum-alternating-subsequence-sum Medium
2023 design-movie-rental-system Hard
2025 redistribute-characters-to-make-all-strings-equal Easy
2026 merge-triplets-to-form-target-triplet Medium
2027 maximum-number-of-removable-characters Medium
2028 the-earliest-and-latest-rounds-where-players-compete Hard
2029 minimize-product-sum-of-two-arrays πŸ”’ πŸ“ Medium
2031 egg-drop-with-2-eggs-and-n-floors Medium
2032 largest-odd-number-in-string Easy
2033 the-number-of-full-rounds-you-have-played Medium
2034 minimum-absolute-difference-queries Medium
2035 count-sub-islands Medium
2036 count-pairs-in-two-arrays πŸ”’ Medium
2037 count-square-sum-triples Easy
2038 nearest-exit-from-entrance-in-maze πŸ“ Medium
2039 sum-game Medium
2040 minimum-cost-to-reach-destination-in-time Hard
2042 maximum-product-difference-between-two-pairs Easy
2043 cyclically-rotating-a-grid Medium
2044 number-of-wonderful-substrings Medium
2045 cutting-ribbons πŸ”’ Medium
2047 find-a-peak-element-ii Medium
2048 build-array-from-permutation Easy
2049 eliminate-maximum-number-of-monsters Medium
2050 count-good-numbers Medium
2051 longest-common-subpath Hard
2052 depth-of-bst-given-insertion-order πŸ”’ Medium
2053 check-if-all-characters-have-equal-number-of-occurrences Easy
2054 the-number-of-the-smallest-unoccupied-chair Medium
2055 describe-the-painting Medium
2056 jump-game-viii πŸ”’ Medium
2058 concatenation-of-array Easy
2059 unique-length-3-palindromic-subsequences Medium
2060 merge-bsts-to-create-single-bst Hard
2061 painting-a-grid-with-three-different-colors Hard
2062 game-of-nim πŸ”’ πŸ“ Medium
2065 check-for-contradictions-in-equations πŸ”’ Hard
2066 add-minimum-number-of-rungs Medium
2067 maximum-number-of-points-with-cost πŸ“ Medium
2068 maximum-genetic-difference-query Hard
2069 kth-smallest-subarray-sum πŸ”’ Medium
2070 check-if-string-is-decomposable-into-value-equal-substrings πŸ”’ Easy
2071 longest-common-subsequence-between-sorted-arrays πŸ”’ Medium
2072 maximum-of-minimum-values-in-all-subarrays πŸ”’ Medium
2073 minimum-time-for-k-virus-variants-to-spread πŸ”’ Hard
2074 erect-the-fence-ii πŸ”’ Hard
2075 brightest-position-on-street πŸ”’ Medium
2076 sum-of-digits-of-string-after-convert Easy
2077 largest-number-after-mutating-substring Medium
2078 maximum-compatibility-score-sum Medium
2079 delete-duplicate-folders-in-system Hard
2080 check-if-move-is-legal Medium
2081 minimum-total-space-wasted-with-k-resizing-operations Medium
2082 minimum-cost-to-separate-sentence-into-rows πŸ”’ Medium
2083 three-divisors Easy
2084 maximum-number-of-weeks-for-which-you-can-work Medium
2085 array-with-elements-not-equal-to-average-of-neighbors Medium
2086 count-number-of-special-subsequences Hard
2088 minimum-time-to-type-word-using-special-typewriter Easy
2089 maximum-matrix-sum Medium
2090 number-of-ways-to-arrive-at-destination Medium
2091 number-of-ways-to-separate-numbers Hard
2093 check-if-string-is-a-prefix-of-array Easy
2094 remove-stones-to-minimize-the-total πŸ“ Medium
2095 minimum-number-of-swaps-to-make-the-string-balanced Medium
2096 find-the-longest-valid-obstacle-course-at-each-position Hard
2099 number-of-strings-that-appear-as-substrings-in-word Easy
2100 minimum-non-zero-product-of-the-array-elements Medium
2101 last-day-where-you-can-still-cross Hard
2102 find-the-middle-index-in-array Easy
2103 find-all-groups-of-farmland Medium
2104 operations-on-tree Medium
2105 the-number-of-good-subsets Hard
2106 find-greatest-common-divisor-of-array Easy
2107 find-unique-binary-string Medium
2108 minimize-the-difference-between-target-and-chosen-elements Medium
2109 find-array-given-subset-sums Hard
2111 binary-searchable-numbers-in-an-unsorted-array πŸ”’ Medium
2112 minimum-difference-between-highest-and-lowest-of-k-scores Easy
2113 find-the-kth-largest-integer-in-the-array Medium
2114 minimum-number-of-work-sessions-to-finish-the-tasks Medium
2115 number-of-unique-good-subsequences Hard
2116 count-number-of-pairs-with-absolute-difference-k Easy
2117 find-original-array-from-doubled-array πŸ“ Medium
2118 maximum-earnings-from-taxi Medium
2119 minimum-number-of-operations-to-make-array-continuous Hard
2121 find-if-path-exists-in-graph πŸ“ Easy
2122 count-special-quadruplets Easy
2123 the-number-of-weak-characters-in-the-game πŸ“ Medium
2124 first-day-where-you-have-been-in-all-the-rooms Medium
2125 gcd-sort-of-an-array Hard
2126 count-nodes-equal-to-sum-of-descendants πŸ”’ Medium
2128 reverse-prefix-of-word Easy
2129 number-of-pairs-of-interchangeable-rectangles Medium
2130 maximum-product-of-the-length-of-two-palindromic-subsequences Medium
2131 smallest-missing-genetic-value-in-each-subtree Hard
2132 convert-1d-array-into-2d-array Easy
2133 number-of-pairs-of-strings-with-concatenation-equal-to-target Medium
2134 maximize-the-confusion-of-an-exam Medium
2135 maximum-number-of-ways-to-partition-an-array Hard
2137 final-value-of-variable-after-performing-operations Easy
2138 sum-of-beauty-in-the-array Medium
2139 detect-squares Medium
2140 longest-subsequence-repeated-k-times Hard
2141 smallest-greater-multiple-made-of-two-digits πŸ”’ Medium
2142 average-height-of-buildings-in-each-segment πŸ”’ Medium
2144 maximum-difference-between-increasing-elements Easy
2145 grid-game Medium
2146 check-if-word-can-be-placed-in-crossword Medium
2147 the-score-of-students-solving-math-expression Hard
2148 minimum-number-of-moves-to-seat-everyone Easy
2149 remove-colored-pieces-if-both-neighbors-are-the-same-color Medium
2150 kth-smallest-product-of-two-sorted-arrays Hard
2151 the-time-when-the-network-becomes-idle Medium
2153 subtree-removal-game-with-fibonacci-tree πŸ”’ Hard
2154 minimum-moves-to-convert-string Easy
2155 find-missing-observations Medium
2156 stone-game-ix Medium
2157 smallest-k-length-subsequence-with-occurrences-of-a-letter Hard
2159 two-out-of-three Easy
2160 minimum-operations-to-make-a-uni-value-grid Medium
2161 stock-price-fluctuation πŸ“ Medium
2162 partition-array-into-two-arrays-to-minimize-sum-difference Hard
2163 kth-distinct-string-in-an-array Easy
2164 two-best-non-overlapping-events Medium
2165 plates-between-candles Medium
2166 number-of-valid-move-combinations-on-chessboard Hard
2168 check-if-numbers-are-ascending-in-a-sentence Easy
2169 simple-bank-system Medium
2170 count-number-of-maximum-bitwise-or-subsets Medium
2171 second-minimum-time-to-reach-destination πŸ“ Hard
2173 number-of-valid-words-in-a-sentence Easy
2174 next-greater-numerically-balanced-number Medium
2175 count-nodes-with-the-highest-score Medium
2176 parallel-courses-iii Hard
2177 check-whether-two-strings-are-almost-equivalent Easy
2178 walking-robot-simulation-ii Medium
2179 most-beautiful-item-for-each-query Medium
2180 maximum-number-of-tasks-you-can-assign Hard
2181 smallest-index-with-equal-value Easy
2182 find-the-minimum-and-maximum-number-of-nodes-between-critical-points Medium
2183 minimum-operations-to-convert-number Medium
2184 check-if-an-original-string-exists-given-two-encoded-strings Hard
2186 count-vowel-substrings-of-a-string Easy
2187 vowels-of-all-substrings Medium
2188 minimized-maximum-of-products-distributed-to-any-store Medium
2189 maximum-path-quality-of-a-graph Hard
2190 count-common-words-with-one-occurrence Easy
2191 minimum-number-of-food-buckets-to-feed-the-hamsters Medium
2192 minimum-cost-homecoming-of-a-robot-in-a-grid Medium
2193 count-fertile-pyramids-in-a-land Hard
2195 time-needed-to-buy-tickets Easy
2196 reverse-nodes-in-even-length-groups Medium
2197 decode-the-slanted-ciphertext Medium
2198 process-restricted-friend-requests Hard
2199 two-furthest-houses-with-different-colors Easy
2200 stamping-the-grid Hard
2201 valid-arrangement-of-pairs Hard
2202 sum-of-k-mirror-numbers Hard
2203 number-of-spaces-cleaning-robot-cleaned πŸ”’ Medium
2204 find-subsequence-of-length-k-with-the-largest-sum Easy
2205 find-good-days-to-rob-the-bank Medium
2206 detonate-the-maximum-bombs Medium
2207 sequentially-ordinal-rank-tracker Hard
2209 number-of-equal-count-substrings πŸ”’ Medium
2210 find-target-indices-after-sorting-array Easy
2211 k-radius-subarray-averages Medium
2212 removing-minimum-and-maximum-from-array Medium
2213 find-all-people-with-secret Hard
2215 finding-3-digit-even-numbers Easy
2216 delete-the-middle-node-of-a-linked-list πŸ“ Medium
2217 step-by-step-directions-from-a-binary-tree-node-to-another Medium
2218 paths-in-maze-that-lead-to-same-room πŸ”’ Medium
2219 maximum-number-of-words-found-in-sentences Easy
2220 find-all-possible-recipes-from-given-supplies Medium
2221 check-if-a-parentheses-string-can-be-valid Medium
2222 abbreviating-the-product-of-a-range Hard
2225 substrings-that-begin-and-end-with-the-same-letter πŸ”’ Medium
2226 rings-and-rods Easy
2227 sum-of-subarray-ranges πŸ“ Medium
2228 watering-plants-ii Medium
2229 maximum-fruits-harvested-after-at-most-k-steps Hard
2230 minimum-cost-to-reach-city-with-discounts πŸ”’ Medium
2231 find-first-palindromic-string-in-the-array Easy
2232 adding-spaces-to-a-string Medium
2233 number-of-smooth-descent-periods-of-a-stock Medium
2234 minimum-operations-to-make-the-array-k-increasing Hard
2235 capitalize-the-title Easy
2236 maximum-twin-sum-of-a-linked-list Medium
2237 longest-palindrome-by-concatenating-two-letter-words πŸ“ Medium
2238 a-number-after-a-double-reversal Easy
2239 execution-of-all-suffix-instructions-staying-in-a-grid Medium
2240 intervals-between-identical-elements Medium
2241 recover-the-original-array Hard
2242 subsequence-of-size-k-with-the-largest-even-sum πŸ”’ Medium
2243 check-if-all-as-appears-before-all-bs Easy
2244 number-of-laser-beams-in-a-bank Medium
2245 destroying-asteroids Medium
2246 maximum-employees-to-be-invited-to-a-meeting Hard
2247 number-of-unique-flavors-after-sharing-k-candies πŸ”’ Medium
2248 minimum-cost-of-buying-candies-with-discount Easy
2249 count-the-hidden-sequences Medium
2250 k-highest-ranked-items-within-a-price-range Medium
2251 number-of-ways-to-divide-a-long-corridor Hard
2254 check-if-every-row-and-column-contains-all-numbers Easy
2255 minimum-swaps-to-group-all-1s-together-ii Medium
2256 count-words-obtained-after-adding-a-letter Medium
2257 earliest-possible-day-of-full-bloom πŸ“ Hard
2258 elements-in-array-after-removing-and-replacing-elements πŸ”’ Medium
2259 minimum-operations-to-remove-adjacent-ones-in-matrix πŸ”’ Hard
2260 divide-a-string-into-groups-of-size-k Easy
2261 all-divisions-with-the-highest-score-of-a-binary-array Medium
2262 solving-questions-with-brainpower Medium
2263 maximum-running-time-of-n-computers Hard
2264 minimum-sum-of-four-digit-number-after-splitting-digits Easy
2265 partition-array-according-to-given-pivot Medium
2266 minimum-cost-to-set-cooking-time Medium
2267 minimum-difference-in-sums-after-removal-of-elements Hard
2268 remove-all-ones-with-row-and-column-flips πŸ”’ Medium
2269 count-elements-with-strictly-smaller-and-greater-elements Easy
2270 find-all-lonely-numbers-in-the-array Medium
2271 rearrange-array-elements-by-sign Medium
2272 maximum-good-people-based-on-statements Hard
2273 pour-water-between-buckets-to-make-water-levels-equal πŸ”’ Medium
2274 keep-multiplying-found-values-by-two Easy
2275 find-substring-with-given-hash-value Hard
2276 groups-of-strings Hard
2277 count-equal-and-divisible-pairs-in-an-array Easy
2278 find-three-consecutive-integers-that-sum-to-a-given-number Medium
2279 maximum-split-of-positive-even-integers Medium
2280 count-good-triplets-in-an-array Hard
2282 choose-numbers-from-two-arrays-in-range πŸ”’ Hard
2283 sort-even-and-odd-indices-independently Easy
2284 smallest-value-of-the-rearranged-number Medium
2285 design-bitset Medium
2286 minimum-time-to-remove-all-cars-containing-illegal-goods Hard
2287 minimum-number-of-lines-to-cover-points πŸ”’ Medium
2288 count-operations-to-obtain-zero Easy
2289 minimum-operations-to-make-the-array-alternating Medium
2290 removing-minimum-number-of-magic-beans Medium
2291 maximum-and-sum-of-array Hard
2292 counting-words-with-a-given-prefix Easy
2293 minimum-number-of-steps-to-make-two-strings-anagram-ii Medium
2294 minimum-time-to-complete-trips πŸ“ Medium
2295 minimum-time-to-finish-the-race Hard
2297 amount-of-new-area-painted-each-day πŸ”’ Hard
2298 count-integers-with-even-digit-sum Easy
2299 merge-nodes-in-between-zeros Medium
2300 construct-string-with-repeat-limit Medium
2301 count-array-pairs-divisible-by-k Hard
2303 unique-substrings-with-equal-digit-frequency πŸ”’ Medium
2304 cells-in-a-range-on-an-excel-sheet Easy
2305 append-k-integers-with-minimal-sum Medium
2306 create-binary-tree-from-descriptions Medium
2307 replace-non-coprime-numbers-in-array Hard
2308 divide-array-into-equal-pairs Easy
2309 maximize-number-of-subsequences-in-a-string Medium
2310 minimum-operations-to-halve-array-sum Medium
2311 minimum-white-tiles-after-covering-with-carpets Hard
2312 most-frequent-number-following-key-in-an-array Easy
2314 remove-all-ones-with-row-and-column-flips-ii πŸ”’ Medium
2316 count-hills-and-valleys-in-an-array Easy
2317 count-collisions-on-a-road Medium
2318 maximum-points-in-an-archery-competition Medium
2319 longest-substring-of-one-repeating-character Hard
2320 find-all-k-distant-indices-in-an-array Easy
2321 minimum-weighted-subgraph-with-the-required-paths Hard
2322 number-of-ways-to-build-sturdy-brick-wall πŸ”’ Medium
2323 minimum-bit-flips-to-convert-number Easy
2324 find-triangular-sum-of-an-array Medium
2325 number-of-ways-to-select-buildings Medium
2326 sum-of-scores-of-built-strings Hard
2327 largest-number-after-digit-swaps-by-parity Easy
2328 minimize-result-by-adding-parentheses-to-expression Medium
2329 maximum-product-after-k-increments Medium
2330 maximum-total-beauty-of-the-gardens Hard
2331 intersection-of-multiple-arrays Easy
2332 count-lattice-points-inside-a-circle Medium
2333 count-number-of-rectangles-containing-each-point Medium
2334 number-of-flowers-in-full-bloom Hard
2337 remove-digit-from-number-to-maximize-result Easy
2338 minimum-consecutive-cards-to-pick-up Medium
2339 k-divisible-elements-subarrays Medium
2340 total-appeal-of-a-string Hard
2341 count-prefixes-of-a-given-string Easy
2342 minimum-average-difference πŸ“ Medium
2343 count-unguarded-cells-in-the-grid Medium
2344 escape-the-spreading-fire Hard
2345 minimum-number-of-operations-to-convert-time Easy
2346 largest-3-same-digit-number-in-string Easy
2347 count-nodes-equal-to-average-of-subtree Medium
2348 count-number-of-texts Medium
2349 check-if-there-is-a-valid-parentheses-string-path Hard
2350 find-closest-number-to-zero Easy
2351 number-of-ways-to-buy-pens-and-pencils Medium
2352 design-an-atm-machine Medium
2353 maximum-score-of-a-node-sequence Hard
2354 minimum-health-to-beat-game πŸ”’ πŸ“ Medium
2355 maximum-consecutive-floors-without-special-floors Medium
2356 largest-combination-with-bitwise-and-greater-than-zero Medium
2357 count-integers-in-intervals Hard
2358 number-of-ways-to-split-array Medium
2359 maximum-white-tiles-covered-by-a-carpet Medium
2360 substring-with-largest-variance Hard
2361 calculate-digit-sum-of-a-string Easy
2362 minimum-rounds-to-complete-all-tasks πŸ“ Medium
2363 maximum-trailing-zeros-in-a-cornered-path Medium
2364 longest-path-with-different-adjacent-characters πŸ“ Hard
2365 percentage-of-letter-in-string Easy
2366 maximum-bags-with-full-capacity-of-rocks πŸ“ Medium
2367 minimum-lines-to-represent-a-line-chart Medium
2368 sum-of-total-strength-of-wizards πŸ“ Hard
2369 maximum-sum-score-of-array πŸ”’ Medium
2372 rearrange-characters-to-make-target-string Easy
2373 apply-discount-to-prices Medium
2374 steps-to-make-array-non-decreasing Medium
2375 minimum-obstacle-removal-to-reach-corner Hard
2377 check-if-number-has-equal-digit-count-and-digit-value Easy
2378 sender-with-largest-word-count Medium
2379 maximum-total-importance-of-roads Medium
2380 booking-concert-tickets-in-groups Hard
2383 add-two-integers Easy
2384 root-equals-sum-of-children Easy
2385 count-positions-on-street-with-required-brightness πŸ”’ Medium
2386 min-max-game Easy
2387 partition-array-such-that-maximum-difference-is-k Medium
2388 replace-elements-in-an-array Medium
2389 design-a-text-editor Hard
2390 naming-a-company πŸ“ Hard
2391 strong-password-checker-ii Easy
2392 successful-pairs-of-spells-and-potions Medium
2393 match-substring-after-replacement Hard
2394 count-subarrays-with-score-less-than-k Hard
2395 longest-binary-subsequence-less-than-or-equal-to-k Medium
2396 design-video-sharing-platform πŸ”’ Hard
2397 count-number-of-ways-to-place-houses Medium
2398 check-if-matrix-is-x-matrix Easy
2399 minimum-flips-in-binary-tree-to-get-result πŸ”’ Hard
2400 minimum-score-after-removals-on-a-tree Hard
2401 count-asterisks Easy
2402 maximum-xor-after-operations Medium
2403 count-unreachable-pairs-of-nodes-in-an-undirected-graph πŸ“ Medium
2404 number-of-distinct-roll-sequences Hard
2405 minimum-number-of-keypresses πŸ”’ Medium
2406 decode-the-message Easy
2408 number-of-people-aware-of-a-secret Medium
2409 number-of-increasing-paths-in-a-grid Hard
2411 spiral-matrix-iv Medium
2412 minimum-amount-of-time-to-fill-cups Python3 Easy
2413 smallest-number-in-infinite-set Medium
2414 move-pieces-to-obtain-a-string Medium
2415 count-the-number-of-ideal-arrays Hard
2416 evaluate-boolean-binary-tree Easy
2417 the-latest-time-to-catch-a-bus Medium
2418 minimum-sum-of-squared-difference Medium
2419 subarray-with-elements-greater-than-varying-threshold Hard
2420 closest-node-to-path-in-tree πŸ”’ Hard
2421 maximum-number-of-pairs-in-array Python3 Easy
2422 query-kth-smallest-trimmed-number Medium
2423 minimum-deletions-to-make-array-divisible Hard
2425 number-of-people-that-can-be-seen-in-a-grid πŸ”’ Medium
2426 maximum-profit-from-trading-stocks πŸ”’ Medium
2427 first-letter-to-appear-twice Easy
2428 equal-row-and-column-pairs Medium
2429 design-a-food-rating-system Medium
2430 number-of-excellent-pairs Hard
2432 number-of-zero-filled-subarrays πŸ“ Medium
2433 best-poker-hand Python3 Easy
2434 design-a-number-container-system Medium
2435 shortest-impossible-sequence-of-rolls Hard
2436 make-array-zero-by-subtracting-equal-amounts Easy
2437 maximum-number-of-groups-entering-a-competition Medium
2438 find-closest-node-to-given-two-nodes πŸ“ Medium
2439 longest-cycle-in-a-graph πŸ“ Hard
2442 number-of-arithmetic-triplets Easy
2443 check-if-there-is-a-valid-partition-for-the-array Medium
2444 longest-ideal-subsequence Medium
2445 reachable-nodes-with-restrictions πŸ“ Medium
2447 merge-similar-items Easy
2448 count-number-of-bad-pairs Medium
2449 maximum-number-of-robots-within-budget Hard
2450 minimum-replacements-to-sort-the-array Hard
2454 largest-local-values-in-a-matrix Easy
2455 node-with-highest-edge-score Medium
2456 construct-smallest-number-from-di-string Medium
2457 count-special-integers Hard
2458 find-minimum-time-to-finish-all-jobs-ii πŸ”’ Medium
2459 minimum-hours-of-training-to-win-a-competition Easy
2461 amount-of-time-for-binary-tree-to-be-infected Medium
2462 find-the-k-sum-of-an-array Hard
2463 minimum-recolors-to-get-k-consecutive-black-blocks Easy
2464 time-needed-to-rearrange-a-binary-string Medium
2465 shifting-letters-ii Medium
2466 maximum-segment-sum-after-removals Hard
2468 valid-palindrome-iv πŸ”’ Medium
2469 longest-subsequence-with-limited-sum πŸ“ Easy
2470 removing-stars-from-a-string πŸ“ Medium
2471 minimum-amount-of-time-to-collect-garbage Medium
2472 build-a-matrix-with-conditions Hard
2473 max-sum-of-a-pair-with-equal-sum-of-digits Medium
2474 minimum-adjacent-swaps-to-make-a-valid-array πŸ”’ Medium
2475 largest-palindromic-number Medium
2476 check-distances-between-same-letters Easy
2477 number-of-ways-to-reach-a-position-after-exactly-k-steps Medium
2478 longest-nice-subarray Medium
2479 meeting-rooms-iii Hard
2480 find-subarrays-with-equal-sum Easy
2481 strictly-palindromic-number Medium
2482 maximum-rows-covered-by-columns Medium
2483 task-scheduler-ii Medium
2485 finding-the-number-of-visible-mountains πŸ”’ Medium
2486 most-frequent-even-element Easy
2487 optimal-partition-of-string Medium
2488 divide-intervals-into-minimum-number-of-groups Medium
2489 sort-array-by-moving-items-to-empty-space πŸ”’ Hard
2490 maximum-number-of-books-you-can-take πŸ”’ Hard
2491 smallest-even-multiple Easy
2492 length-of-the-longest-alphabetical-continuous-substring Medium
2493 reverse-odd-levels-of-binary-tree Medium
2494 sum-of-prefix-scores-of-strings Hard
2496 count-days-spent-together Easy
2497 maximum-matching-of-players-with-trainers Medium
2498 smallest-subarrays-with-maximum-bitwise-or Medium
2499 minimum-money-required-before-transactions Hard
2500 minimum-costs-using-the-train-line πŸ”’ Hard
2502 sort-the-people Easy
2503 longest-subarray-with-maximum-bitwise-and Medium
2504 find-all-good-indices Medium
2505 number-of-good-paths πŸ“ Hard
2506 minimize-maximum-value-in-a-grid πŸ”’ Hard
2507 number-of-common-factors Easy
2508 maximum-sum-of-an-hourglass Medium
2509 minimize-xor Medium
2510 maximum-deletions-on-a-string Hard
2511 partition-string-into-substrings-with-values-at-most-k Medium
2512 longest-uploaded-prefix Medium
2513 number-of-pairs-satisfying-inequality Hard
2517 choose-edges-to-maximize-score-in-a-tree πŸ”’ Medium
2518 the-employee-that-worked-on-the-longest-task Easy
2519 find-the-original-array-of-prefix-xor Medium
2520 using-a-robot-to-print-the-lexicographically-smallest-string Medium
2521 paths-in-matrix-whose-sum-is-divisible-by-k Hard
2522 median-of-a-row-wise-sorted-matrix πŸ”’ Medium
2524 largest-positive-integer-that-exists-with-its-negative Easy
2525 count-number-of-distinct-integers-after-reverse-operations Medium
2526 longest-increasing-subsequence-ii Hard
2527 count-subarrays-with-fixed-bounds πŸ“ Hard
2528 number-of-valid-clock-times Easy
2529 range-product-queries-of-powers Medium
2530 minimize-maximum-of-array πŸ“ Medium
2531 create-components-with-same-value Python3 Hard
2532 remove-letter-to-equalize-frequency Easy
2533 bitwise-xor-of-all-pairings Medium
2535 count-strictly-increasing-subarrays πŸ”’ Medium
2536 determine-if-two-events-have-conflict Easy
2537 minimum-time-to-kill-all-monsters πŸ”’ Hard
2538 minimum-cost-to-make-array-equal Hard
2539 minimum-number-of-operations-to-make-arrays-similar Hard
2541 sum-of-number-and-its-reverse Medium
2542 average-value-of-even-numbers-that-are-divisible-by-three Easy
2543 most-popular-video-creator Medium
2544 minimum-addition-to-make-integer-beautiful Medium
2545 height-of-binary-tree-after-subtree-removal-queries Hard
2546 number-of-subarrays-with-gcd-equal-to-k Medium
2547 odd-string-difference Easy
2548 destroy-sequential-targets Medium
2549 next-greater-element-iv Hard
2550 words-within-two-edits-of-dictionary Medium
2551 apply-operations-to-an-array Easy
2552 maximum-sum-of-distinct-subarrays-with-length-k Medium
2553 total-cost-to-hire-k-workers Medium
2554 minimum-total-distance-traveled Hard
2555 design-sql πŸ”’ Medium
2556 convert-the-temperature Easy
2557 number-of-subarrays-with-lcm-equal-to-k Medium
2558 minimum-number-of-operations-to-sort-a-binary-tree-by-level Medium
2559 maximum-number-of-non-overlapping-palindrome-substrings Hard
2560 closest-fair-integer πŸ”’ Medium
2561 number-of-distinct-averages Easy
2562 count-ways-to-build-good-strings Medium
2563 split-message-based-on-limit Hard
2564 most-profitable-path-in-a-tree Medium
2565 merge-operations-to-turn-array-into-a-palindrome πŸ”’ Medium
2566 number-of-unequal-triplets-in-array Easy
2567 closest-nodes-queries-in-a-binary-search-tree Medium
2568 minimum-fuel-cost-to-report-to-the-capital Python3 πŸ“ Medium
2569 number-of-beautiful-partitions Hard
2570 maximize-total-tastiness-of-purchased-fruits πŸ”’ Medium
2571 find-the-pivot-integer Easy
2572 append-characters-to-string-to-make-subsequence Medium
2573 remove-nodes-from-linked-list Medium
2574 count-subarrays-with-median-k Hard
2575 minimum-cuts-to-divide-a-circle Easy
2576 minimum-penalty-for-a-shop Medium
2577 count-palindromic-subsequences Hard
2579 minimum-split-into-subarrays-with-gcd-greater-than-one πŸ”’ Medium
2580 circular-sentence Easy
2581 divide-players-into-teams-of-equal-skill Medium
2582 minimum-score-of-a-path-between-two-cities πŸ“ Medium
2583 divide-nodes-into-the-maximum-number-of-groups Hard
2584 number-of-nodes-with-value-one πŸ”’ Medium
2585 delete-greatest-value-in-each-row Easy
2586 longest-square-streak-in-an-array Medium
2587 design-memory-allocator Medium
2588 maximum-number-of-points-from-grid-queries Hard
2589 maximum-value-of-a-string-in-an-array Easy
2590 maximum-star-sum-of-a-graph Medium
2591 frog-jump-ii Medium
2592 minimum-total-cost-to-make-arrays-unequal Hard
2593 number-of-distinct-binary-strings-after-applying-operations πŸ”’ Medium
2594 count-pairs-of-similar-strings Easy
2595 smallest-value-after-replacing-with-sum-of-prime-factors Medium
2596 add-edges-to-make-degrees-of-all-nodes-even Hard
2597 cycle-length-queries-in-a-tree Hard
2598 shortest-distance-to-target-string-in-a-circular-array Easy
2599 take-k-of-each-character-from-left-and-right Medium
2600 maximum-tastiness-of-candy-basket Medium
2601 number-of-great-partitions Hard
2602 maximum-enemy-forts-that-can-be-captured Easy
2603 reward-top-k-students Medium
2604 minimum-operations-to-make-array-equal-ii Medium
2605 count-anagrams Hard
2606 difference-between-ones-and-zeros-in-row-and-column Medium
2607 minimum-subarrays-in-a-valid-split πŸ”’ Medium
2608 count-the-digits-that-divide-a-number Easy
2609 distinct-prime-factors-of-product-of-array Medium
2610 closest-prime-numbers-in-range Medium
2612 minimum-cost-to-buy-apples πŸ”’ Medium
2614 maximum-count-of-positive-integer-and-negative-integer Easy
2615 make-number-of-distinct-characters-equal Medium
2616 maximal-score-after-applying-k-operations Medium
2617 time-taken-to-cross-the-door πŸ”’ Hard
2618 maximize-the-minimum-powered-city Hard
2619 categorize-box-according-to-criteria Easy
2620 find-consecutive-integers-from-a-data-stream Medium
2621 find-xor-beauty-of-array Medium
2623 maximum-xor-of-two-non-overlapping-subtrees πŸ”’ Hard
2624 difference-between-element-sum-and-digit-sum-of-an-array Easy
2625 increment-submatrices-by-one Medium
2626 count-the-number-of-good-subarrays Medium
2627 difference-between-maximum-and-minimum-price-sum Hard
2628 minimize-the-maximum-of-two-arrays Medium
2629 number-of-substrings-with-fixed-ratio πŸ”’ Medium
2630 alternating-digit-sum Easy
2631 sort-the-students-by-their-kth-score Medium
2632 apply-bitwise-operations-to-make-strings-equal Medium
2633 minimum-cost-to-split-an-array Hard
2634 minimum-common-value Easy
2635 check-if-point-is-reachable Hard
2636 maximum-subsequence-score Medium
2638 number-of-subarrays-having-even-product πŸ”’ Medium
2639 separate-the-digits-in-an-array Easy
2640 maximum-number-of-integers-to-choose-from-a-range-i Medium
2641 disconnect-path-in-a-binary-matrix-by-at-most-one-flip Medium
2642 time-to-cross-a-bridge Hard
2644 bitwise-or-of-all-subsequence-sums πŸ”’ Medium
2653 check-if-there-is-a-path-with-equal-number-of-0s-and-1s πŸ”’ Medium
2658 count-the-number-of-k-big-indices πŸ”’ Hard
2667 maximum-frequency-score-of-a-subarray πŸ”’ Hard
2672 number-of-good-binary-strings πŸ”’ Medium
2673 maximize-win-from-two-segments Medium
2679 count-distinct-numbers-on-board Easy
2680 count-collisions-of-monkeys-on-a-polygon Medium
2681 put-marbles-in-bags Hard
2682 count-increasing-quadruplets Hard
2683 count-the-number-of-good-subsequences πŸ”’ Medium
2689 rearranging-fruits Hard
2690 house-robber-iv Medium
2691 count-vowel-strings-in-ranges Medium
2692 take-gifts-from-the-richest-pile Easy
2693 maximum-price-to-fill-a-bag πŸ”’ Medium
2698 find-the-array-concatenation-value Easy
2699 count-the-number-of-fair-pairs Medium
2700 substring-xor-queries Medium
2701 subsequence-with-the-minimum-score Hard
2702 maximum-number-of-integers-to-choose-from-a-range-ii πŸ”’ Medium
2703 handling-sum-queries-after-update Hard
2704 maximum-difference-by-remapping-a-digit Easy
2705 minimum-impossible-or Medium
2706 minimum-score-by-changing-two-elements Medium
2707 merge-two-2d-arrays-by-summing-values Easy
2708 find-the-string-with-lcp Hard
2709 count-the-number-of-square-free-subsets Medium
2710 minimum-operations-to-reduce-an-integer-to-0 Medium
2711 minimum-time-to-visit-a-cell-in-a-grid Hard
2712 find-the-maximum-number-of-marked-indices Medium
2713 find-the-divisibility-array-of-a-string Medium
2714 left-and-right-sum-differences Easy

About

Leetcode solution auto generator

Topics

Resources

Stars

Watchers

Forks