Skip to content

rzhangpku/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✏️ Leetcode Solutions with Python

Update time: 2019-06-15 22:13:48

Auto created by leetcode_generate

I have solved 151 / 1023 problems while there are 153 problems still locked.

If you want to use this tool please follow this Usage Guide

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!

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

# Title Source Code Article Difficulty
1 two-sum Python πŸ“ Easy
2 add-two-numbers Python πŸ“ 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 Python πŸ“ Easy
8 string-to-integer-atoi Python Medium
9 palindrome-number Python πŸ“ Easy
10 regular-expression-matching πŸ“ Hard
11 container-with-most-water πŸ“ Medium
12 integer-to-roman Medium
13 roman-to-integer Python Easy
14 longest-common-prefix Python πŸ“ 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 Python πŸ“ 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 implement-strstr Python Easy
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 Python πŸ“ Medium
35 search-insert-position Python Easy
36 valid-sudoku πŸ“ Medium
37 sudoku-solver πŸ“ Hard
38 count-and-say Easy
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 Hard
46 permutations πŸ“ Medium
47 permutations-ii Medium
48 rotate-image πŸ“ Medium
49 group-anagrams πŸ“ Medium
50 powx-n Python πŸ“ Medium
51 n-queens πŸ“ Hard
52 n-queens-ii πŸ“ Hard
53 maximum-subarray πŸ“ Easy
54 spiral-matrix πŸ“ Medium
55 jump-game πŸ“ Medium
56 merge-intervals πŸ“ Medium
57 insert-interval πŸ“ Hard
58 length-of-last-word Python Easy
59 spiral-matrix-ii Medium
60 permutation-sequence Medium
61 rotate-list πŸ“ Medium
62 unique-paths Medium
63 unique-paths-ii πŸ“ Medium
64 minimum-path-sum πŸ“ Medium
65 valid-number Python Hard
66 plus-one Python Easy
67 add-binary Python Easy
68 text-justification Hard
69 sqrtx Easy
70 climbing-stairs Python πŸ“ Easy
71 simplify-path Medium
72 edit-distance πŸ“ 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 Python πŸ“ 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 πŸ“ Medium
95 unique-binary-search-trees-ii πŸ“ Medium
96 unique-binary-search-trees πŸ“ Medium
97 interleaving-string πŸ“ Hard
98 validate-binary-search-tree πŸ“ Medium
99 recover-binary-search-tree Hard
100 same-tree Python πŸ“ Easy
101 symmetric-tree πŸ“ Easy
102 binary-tree-level-order-traversal πŸ“ Medium
103 binary-tree-zigzag-level-order-traversal Medium
104 maximum-depth-of-binary-tree Python πŸ“ 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 Easy
108 convert-sorted-array-to-binary-search-tree Python 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 Python πŸ“ 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 Python πŸ“ Easy
119 pascals-triangle-ii Python Easy
120 triangle Medium
121 best-time-to-buy-and-sell-stock πŸ“ Easy
122 best-time-to-buy-and-sell-stock-ii πŸ“ Easy
123 best-time-to-buy-and-sell-stock-iii Hard
124 binary-tree-maximum-path-sum πŸ“ Hard
125 valid-palindrome Python Easy
126 word-ladder-ii Hard
127 word-ladder πŸ“ Medium
128 longest-consecutive-sequence πŸ“ Hard
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 πŸ“ Medium
145 binary-tree-postorder-traversal πŸ“ Hard
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 Python Easy
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 πŸ”’ πŸ“ Hard
160 intersection-of-two-linked-lists πŸ“ Easy
161 one-edit-distance πŸ”’ πŸ“ Medium
162 find-peak-element Python πŸ“ Medium
163 missing-ranges πŸ”’ Medium
164 maximum-gap πŸ“ Hard
165 compare-version-numbers Python Medium
166 fraction-to-recurring-decimal πŸ“ Medium
167 two-sum-ii-input-array-is-sorted Python πŸ“ Easy
168 excel-sheet-column-title Easy
169 majority-element Python πŸ“ Easy
170 two-sum-iii-data-structure-design πŸ”’ Easy
171 excel-sheet-column-number Easy
172 factorial-trailing-zeroes Easy
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 πŸ“ Easy
190 reverse-bits Python Easy
191 number-of-1-bits Python πŸ“ Easy
198 house-robber πŸ“ Easy
199 binary-tree-right-side-view πŸ“ Medium
200 number-of-islands πŸ“ Medium
201 bitwise-and-of-numbers-range Medium
202 happy-number Python Easy
203 remove-linked-list-elements Easy
204 count-primes Easy
205 isomorphic-strings Python Easy
206 reverse-linked-list Python πŸ“ Easy
207 course-schedule Medium
208 implement-trie-prefix-tree πŸ“ Medium
209 minimum-size-subarray-sum πŸ“ Medium
210 course-schedule-ii πŸ“ Medium
211 add-and-search-word-data-structure-design Medium
212 word-search-ii Hard
213 house-robber-ii Medium
214 shortest-palindrome πŸ“ Hard
215 kth-largest-element-in-an-array Python πŸ“ Medium
216 combination-sum-iii Medium
217 contains-duplicate Python πŸ“ Easy
218 the-skyline-problem πŸ“ Hard
219 contains-duplicate-ii πŸ“ Easy
220 contains-duplicate-iii πŸ“ Medium
221 maximal-square πŸ“ Medium
222 count-complete-tree-nodes Medium
223 rectangle-area Medium
224 basic-calculator Hard
225 implement-stack-using-queues Python πŸ“ Easy
226 invert-binary-tree Python πŸ“ Easy
227 basic-calculator-ii Medium
228 summary-ranges πŸ“ Medium
229 majority-element-ii Medium
230 kth-smallest-element-in-a-bst πŸ“ Medium
231 power-of-two Python Easy
232 implement-queue-using-stacks Python πŸ“ Easy
233 number-of-digit-one πŸ“ Hard
234 palindrome-linked-list Python Easy
235 lowest-common-ancestor-of-a-binary-search-tree πŸ“ Easy
236 lowest-common-ancestor-of-a-binary-tree πŸ“ Medium
237 delete-node-in-a-linked-list πŸ“ Easy
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 Python πŸ“ 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 πŸ”’ Easy
257 binary-tree-paths πŸ“ Easy
258 add-digits Python Easy
259 3sum-smaller πŸ”’ πŸ“ Medium
260 single-number-iii Python Medium
261 graph-valid-tree πŸ”’ Medium
263 ugly-number Python 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 πŸ”’ Easy
277 find-the-celebrity πŸ”’ Medium
278 first-bad-version Python πŸ“ 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 Python Easy
291 word-pattern-ii πŸ”’ Hard
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 Python πŸ“ 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 Hard
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 Python πŸ“ 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 Medium
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 Python πŸ“ Medium
339 nested-list-weight-sum πŸ”’ πŸ“ Easy
340 longest-substring-with-at-most-k-distinct-characters πŸ”’ πŸ“ Hard
341 flatten-nested-list-iterator Medium
342 power-of-four Python Easy
343 integer-break Medium
344 reverse-string Python Easy
345 reverse-vowels-of-a-string Easy
346 moving-average-from-data-stream πŸ”’ Easy
347 top-k-frequent-elements Python πŸ“ Medium
348 design-tic-tac-toe πŸ”’ Medium
349 intersection-of-two-arrays Python πŸ“ Easy
350 intersection-of-two-arrays-ii Python 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 Python Easy
368 largest-divisible-subset Medium
369 plus-one-linked-list πŸ”’ Medium
370 range-addition πŸ”’ πŸ“ Medium
371 sum-of-two-integers Python Easy
372 super-pow Medium
373 find-k-pairs-with-smallest-sums Medium
374 guess-number-higher-or-lower Python πŸ“ Easy
375 guess-number-higher-or-lower-ii πŸ“ Medium
376 wiggle-subsequence πŸ“ 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 Python Easy
384 shuffle-an-array πŸ“ Medium
385 mini-parser Medium
386 lexicographical-numbers Medium
387 first-unique-character-in-a-string Python πŸ“ Easy
388 longest-absolute-file-path Medium
389 find-the-difference Python Easy
390 elimination-game Medium
391 perfect-rectangle Hard
392 is-subsequence Medium
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 Easy
401 binary-watch Easy
402 remove-k-digits Medium
403 frog-jump πŸ“ Hard
404 sum-of-left-leaves Python 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 Python πŸ“ Easy
413 arithmetic-slices πŸ“ Medium
414 third-maximum-number Python 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 Python πŸ“ Easy
435 non-overlapping-intervals πŸ“ Medium
436 find-right-interval πŸ“ Medium
437 path-sum-iii Easy
438 find-all-anagrams-in-a-string Easy
439 ternary-expression-parser πŸ”’ Medium
440 k-th-smallest-in-lexicographical-order Hard
441 arranging-coins Python Easy
442 find-all-duplicates-in-an-array Python Medium
443 string-compression πŸ“ Easy
444 sequence-reconstruction πŸ”’ Medium
445 add-two-numbers-ii Medium
446 arithmetic-slices-ii-subsequence πŸ“ Hard
447 number-of-boomerangs Easy
448 find-all-numbers-disappeared-in-an-array Python Easy
449 serialize-and-deserialize-bst πŸ“ Medium
450 delete-node-in-a-bst πŸ“ Medium
451 sort-characters-by-frequency Python Medium
452 minimum-number-of-arrows-to-burst-balloons πŸ“ Medium
453 minimum-moves-to-equal-array-elements πŸ“ Easy
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 Python Easy
462 minimum-moves-to-equal-array-elements-ii Python πŸ“ Medium
463 island-perimeter Python 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 Easy
476 number-complement Python 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 Python Easy
486 predict-the-winner πŸ“ Medium
487 max-consecutive-ones-ii πŸ”’ Medium
488 zuma-game Hard
490 the-maze πŸ”’ πŸ“ Medium
491 increasing-subsequences Medium
492 construct-the-rectangle Python Easy
493 reverse-pairs πŸ“ Hard
494 target-sum πŸ“ Medium
495 teemo-attacking Medium
496 next-greater-element-i Python πŸ“ Easy
498 diagonal-traverse Medium
499 the-maze-iii πŸ”’ Hard
500 keyboard-row Python Easy
501 find-mode-in-binary-search-tree Easy
502 ipo πŸ“ 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
511 all-paths-from-source-lead-to-destination πŸ”’ 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-2 Medium
520 detect-capital Python Easy
521 longest-uncommon-subsequence-i Python πŸ“ 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
529 minesweeper Medium
530 minimum-absolute-difference-in-bst Easy
531 lonely-pixel-i πŸ”’ Medium
532 k-diff-pairs-in-an-array Easy
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 πŸ“ Easy
539 minimum-time-difference Medium
540 single-element-in-a-sorted-array Python Medium
541 reverse-string-ii Python πŸ“ 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 friend-circles πŸ“ Medium
548 split-array-with-equal-sum πŸ”’ πŸ“ Medium
549 binary-tree-longest-consecutive-sequence-ii πŸ”’ πŸ“ Medium
551 student-attendance-record-i Python πŸ“ Easy
552 student-attendance-record-ii πŸ“ Hard
553 optimal-division Python πŸ“ Medium
554 brick-wall πŸ“ Medium
555 split-concatenated-strings πŸ”’ πŸ“ Medium
556 next-greater-element-iii πŸ“ Medium
557 reverse-words-in-a-string-iii Python πŸ“ Easy
560 subarray-sum-equals-k πŸ“ Medium
561 array-partition-i πŸ“ 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 Python πŸ“ Easy
567 permutation-in-string πŸ“ Medium
568 maximum-vacation-days πŸ”’ πŸ“ Hard
572 subtree-of-another-tree πŸ“ Easy
573 squirrel-simulation πŸ”’ πŸ“ Medium
575 distribute-candies Python πŸ“ Easy
576 out-of-boundary-paths πŸ“ Medium
581 shortest-unsorted-continuous-subarray πŸ“ Easy
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 Python πŸ“ Easy
599 minimum-index-sum-of-two-lists Python πŸ“ 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 Python πŸ“ 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 Python πŸ“ Easy
621 task-scheduler πŸ“ Medium
623 add-one-row-to-tree πŸ“ Medium
624 maximum-distance-in-arrays πŸ”’ πŸ“ Easy
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 πŸ“ Hard
633 sum-of-square-numbers πŸ“ Easy
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 Python πŸ“ Medium
648 replace-words πŸ“ Medium
649 dota2-senate πŸ“ Medium
650 2-keys-keyboard πŸ“ Medium
651 4-keys-keyboard πŸ”’ πŸ“ Medium
652 find-duplicate-subtrees πŸ“ 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 Python πŸ“ 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 πŸ“ Easy
666 path-sum-iv πŸ”’ πŸ“ Medium
667 beautiful-arrangement-ii πŸ“ Medium
668 kth-smallest-number-in-multiplication-table πŸ“ Hard
669 trim-a-binary-search-tree Python πŸ“ Easy
670 maximum-swap Python πŸ“ Medium
671 second-minimum-node-in-a-binary-tree Python πŸ“ 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 Python πŸ“ Medium
678 valid-parenthesis-string πŸ“ Medium
679 24-game πŸ“ Hard
680 valid-palindrome-ii πŸ“ Easy
681 next-closest-time πŸ”’ πŸ“ Medium
682 baseball-game Python πŸ“ Easy
683 k-empty-slots πŸ”’ πŸ“ Hard
684 redundant-connection πŸ“ Medium
685 redundant-connection-ii πŸ“ Hard
686 repeated-string-match πŸ“ Easy
687 longest-univalue-path πŸ“ Easy
688 knight-probability-in-chessboard πŸ“ Medium
689 maximum-sum-of-3-non-overlapping-subarrays πŸ“ Hard
690 employee-importance πŸ“ Easy
691 stickers-to-spell-word πŸ“ Hard
692 top-k-frequent-words πŸ“ Medium
693 binary-number-with-alternating-bits Python πŸ“ 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 πŸ”’ πŸ“ Easy
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 πŸ“ Easy
721 accounts-merge πŸ“ Medium
722 remove-comments πŸ“ Medium
723 candy-crush πŸ”’ πŸ“ Medium
724 find-pivot-index Python πŸ“ Easy
725 split-linked-list-in-parts πŸ“ Medium
726 number-of-atoms πŸ“ Hard
727 minimum-window-subsequence πŸ”’ πŸ“ Hard
728 self-dividing-numbers Python πŸ“ 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 Python Easy
743 closest-leaf-in-a-binary-tree πŸ”’ πŸ“ Medium
744 network-delay-time πŸ“ Medium
745 find-smallest-letter-greater-than-target Python πŸ“ 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 Python πŸ“ Easy
750 contain-virus πŸ“ Hard
751 number-of-corner-rectangles πŸ”’ πŸ“ Medium
752 ip-to-cidr πŸ”’ πŸ“ Easy
753 open-the-lock πŸ“ Medium
754 cracking-the-safe πŸ“ Hard
755 reach-a-number πŸ“ Easy
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 πŸ”’ πŸ“ Easy
761 employee-free-time πŸ”’ πŸ“ Hard
762 find-anagram-mappings πŸ”’ πŸ“ Easy
763 special-binary-string πŸ“ Hard
764 n-ary-tree-level-order-traversal Easy
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 Medium
773 quad-tree-intersection Easy
774 maximum-depth-of-n-ary-tree Python πŸ“ 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 Python πŸ“ Easy
783 search-in-a-binary-search-tree Python 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 Python πŸ“ 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 πŸ“ Easy
800 letter-case-permutation Python πŸ“ Easy
801 is-graph-bipartite πŸ“ Medium
802 k-th-smallest-prime-fraction πŸ“ Hard
803 cheapest-flights-within-k-stops πŸ“ Medium
804 rotated-digits πŸ“ Easy
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 Python Easy
817 design-hashmap Python Easy
818 similar-rgb-color πŸ”’ πŸ“ Easy
819 minimum-swaps-to-make-sequences-increasing πŸ“ Medium
820 find-eventual-safe-states πŸ“ Medium
821 bricks-falling-when-hit πŸ“ Hard
822 unique-morse-code-words Python πŸ“ 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 Python πŸ“ Easy
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 Python Easy
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-cyclic-sorted-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 unique-letter-string πŸ“ Hard
856 consecutive-numbers-sum πŸ“ Hard
857 positions-of-large-groups Python πŸ“ Easy
858 masking-personal-information πŸ“ Medium
859 design-circular-deque Medium
860 design-circular-queue Medium
861 flipping-an-image Python πŸ“ 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 πŸ“ Easy
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 πŸ“ Easy
880 rectangle-area-ii πŸ“ Hard
881 loud-and-rich πŸ“ Medium
882 peak-index-in-a-mountain-array Python πŸ“ Easy
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 Python πŸ“ 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 πŸ“ Easy
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 Python πŸ“ 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 πŸ“ Easy
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 Python πŸ“ 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 Python πŸ“ 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 Python πŸ“ 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 Python πŸ“ 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-log-files πŸ“ Easy
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 Python πŸ“ 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 πŸ“ Easy
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 Python πŸ“ Easy
1002 maximum-width-ramp πŸ“ Medium
1003 minimum-area-rectangle-ii πŸ“ Medium
1004 least-operators-to-express-number πŸ“ Hard
1005 univalued-binary-tree Python πŸ“ Easy
1006 vowel-spellchecker πŸ“ Medium
1007 numbers-with-same-consecutive-differences πŸ“ Medium
1008 binary-tree-cameras πŸ“ Hard
1009 pancake-sorting πŸ“ Medium
1010 powerful-integers πŸ“ Easy
1011 flip-binary-tree-to-match-preorder-traversal πŸ“ Medium
1012 equal-rational-numbers πŸ“ Hard
1013 fibonacci-number Python 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 Python πŸ“ 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 Python πŸ“ Medium
1027 sum-of-even-numbers-after-queries πŸ“ Easy
1028 interval-list-intersections πŸ“ Medium
1029 vertical-order-traversal-of-a-binary-tree πŸ“ Medium
1030 smallest-string-starting-from-leaf πŸ“ Medium
1031 add-to-array-form-of-integer πŸ“ 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 πŸ“ Easy
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 Python Easy
1042 minimum-cost-to-merge-stones Hard
1043 grid-illumination Hard
1044 find-common-characters Python Easy
1045 check-if-word-is-valid-after-substitutions Medium
1046 max-consecutive-ones-iii Medium
1047 maximize-sum-of-array-after-k-negations Python 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 Easy
1056 capacity-to-ship-packages-within-d-days 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
1075 index-pairs-of-a-string πŸ”’ Easy
1078 remove-outermost-parentheses Easy
1079 sum-of-root-to-leaf-binary-numbers Easy
1080 camelcase-matching Medium
1081 video-stitching Medium
1086 divisor-game Easy
1087 longest-arithmetic-sequence 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 πŸ“ Easy
1096 maximum-sum-of-two-non-overlapping-subarrays Medium
1097 stream-of-characters Hard
1103 moving-stones-until-consecutive Easy
1104 coloring-a-border Medium
1105 uncrossed-lines Medium
1106 escape-a-large-maze Hard
1111 minimum-score-triangulation-of-polygon Medium
1113 moving-stones-until-consecutive-ii Medium
1114 binary-search-tree-to-greater-sum-tree Medium
1115 valid-boomerang Easy
1119 robot-bounded-in-circle Easy
1120 flower-planting-with-no-adjacent Easy
1121 partition-array-for-maximum-sum Medium
1122 longest-duplicate-substring Hard
1127 last-stone-weight Easy
1128 remove-all-adjacent-duplicates-in-string Easy
1129 longest-string-chain Medium
1130 last-stone-weight-ii Medium
1137 height-checker Easy
1138 grumpy-bookstore-owner Medium
1139 previous-permutation-with-one-swap Medium
1140 distant-barcodes Medium
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
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

Releases

No releases published

Packages

No packages published

Languages