Skip to content

mwierzbicki/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

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

Repository files navigation

✏️ Leetcode Solutions with C++

Update time: 2017-10-02 12:11:55

Auto created by leetcode_generate

I have solved 89 / 614 problems while there are 113 problems still locked.

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

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

# Title Source Code Article Difficulty
1 two-sum Cpp πŸ“ 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 Cpp Easy
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 Cpp 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 Cpp 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 Cpp πŸ“ Easy
27 remove-element Cpp πŸ“ Easy
28 implement-strstr Cpp Easy
29 divide-two-integers Medium
30 substring-with-concatenation-of-all-words Hard
31 next-permutation Cpp πŸ“ Medium
32 longest-valid-parentheses πŸ“ Hard
33 search-in-rotated-sorted-array Medium
34 search-for-a-range Cpp Medium
35 search-insert-position Cpp Easy
36 valid-sudoku Cpp Medium
37 sudoku-solver Hard
38 count-and-say Easy
39 combination-sum Medium
40 combination-sum-ii Medium
41 first-missing-positive Cpp Hard
42 trapping-rain-water πŸ“ Hard
43 multiply-strings Medium
44 wildcard-matching Hard
45 jump-game-ii Hard
46 permutations Cpp Medium
47 permutations-ii Cpp Medium
48 rotate-image Medium
49 group-anagrams Cpp πŸ“ Medium
50 powx-n Cpp Medium
51 n-queens Hard
52 n-queens-ii Hard
53 maximum-subarray Cpp Easy
54 spiral-matrix πŸ“ Medium
55 jump-game πŸ“ Medium
56 merge-intervals Medium
57 insert-interval Hard
58 length-of-last-word Easy
59 spiral-matrix-ii Medium
60 permutation-sequence Cpp Medium
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 Cpp Easy
67 add-binary Easy
68 text-justification Hard
69 sqrtx Cpp Easy
70 climbing-stairs Cpp πŸ“ Easy
71 simplify-path Medium
72 edit-distance Cpp Hard
73 set-matrix-zeroes Cpp Medium
74 search-a-2d-matrix Medium
75 sort-colors Cpp 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 πŸ“ 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 Cpp 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 Cpp 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 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 Cpp 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 Cpp Easy
119 pascals-triangle-ii Easy
120 triangle Cpp Medium
121 best-time-to-buy-and-sell-stock Cpp πŸ“ Easy
122 best-time-to-buy-and-sell-stock-ii Cpp πŸ“ Easy
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 Medium
128 longest-consecutive-sequence Cpp 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 Cpp πŸ“ 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 Cpp Medium
145 binary-tree-postorder-traversal Cpp Hard
146 lru-cache Hard
147 insertion-sort-list Medium
148 sort-list Medium
149 max-points-on-a-line Cpp Hard
150 evaluate-reverse-polish-notation Cpp 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 Cpp 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 Cpp πŸ“ Medium
163 missing-ranges πŸ”’ Medium
164 maximum-gap πŸ“ Hard
165 compare-version-numbers Medium
166 fraction-to-recurring-decimal πŸ“ Medium
167 two-sum-ii-input-array-is-sorted πŸ“ Easy
168 excel-sheet-column-title Cpp Easy
169 majority-element Cpp Easy
170 two-sum-iii-data-structure-design πŸ”’ Easy
171 excel-sheet-column-number Cpp 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 Cpp πŸ“ Easy
190 reverse-bits Easy
191 number-of-1-bits Cpp πŸ“ 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 Easy
203 remove-linked-list-elements Easy
204 count-primes Easy
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 Cpp 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 Medium
216 combination-sum-iii Medium
217 contains-duplicate Cpp πŸ“ 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 πŸ“ Easy
226 invert-binary-tree Cpp πŸ“ Easy
227 basic-calculator-ii Medium
228 summary-ranges Cpp πŸ“ Medium
229 majority-element-ii Medium
230 kth-smallest-element-in-a-bst Medium
231 power-of-two Cpp 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 Easy
236 lowest-common-ancestor-of-a-binary-tree Medium
237 delete-node-in-a-linked-list Cpp πŸ“ 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 Cpp πŸ“ 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 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 Cpp πŸ“ Medium
275 h-index-ii Medium
276 paint-fence πŸ”’ Easy
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 Cpp πŸ“ Easy
284 peeking-iterator Medium
285 inorder-successor-in-bst πŸ”’ Medium
286 walls-and-gates πŸ”’ πŸ“ Medium
287 find-the-duplicate-number Cpp Medium
288 unique-word-abbreviation πŸ”’ πŸ“ Medium
289 game-of-life Medium
290 word-pattern Easy
291 word-pattern-ii πŸ”’ Hard
292 nim-game Cpp πŸ“ 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 Cpp πŸ“ Medium
301 remove-invalid-parentheses Hard
302 smallest-rectangle-enclosing-black-pixels πŸ”’ πŸ“ Hard
303 range-sum-query-immutable Cpp πŸ“ Easy
304 range-sum-query-2d-immutable πŸ“ Medium
305 number-of-islands-ii πŸ”’ Hard
306 additive-number Medium
307 range-sum-query-mutable Cpp πŸ“ 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 Cpp πŸ“ 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 πŸ“ 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 Easy
343 integer-break Medium
344 reverse-string Cpp Easy
345 reverse-vowels-of-a-string Cpp 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 Cpp Easy
350 intersection-of-two-arrays-ii Cpp 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 Cpp Easy
368 largest-divisible-subset Medium
369 plus-one-linked-list πŸ”’ Medium
370 range-addition πŸ”’ πŸ“ Medium
371 sum-of-two-integers Easy
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 πŸ“ 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 Cpp Easy
388 longest-absolute-file-path Medium
389 find-the-difference Cpp 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 Cpp 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 Cpp Easy
410 split-array-largest-sum Hard
411 minimum-unique-word-abbreviation πŸ”’ Hard
412 fizz-buzz Cpp 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 Cpp Medium
424 longest-repeating-character-replacement Medium
425 word-squares πŸ”’ Hard
432 all-oone-data-structure Hard
434 number-of-segments-in-a-string 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 Cpp Easy
442 find-all-duplicates-in-an-array Medium
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 Easy
449 serialize-and-deserialize-bst Medium
450 delete-node-in-a-bst Medium
451 sort-characters-by-frequency Cpp Medium
452 minimum-number-of-arrows-to-burst-balloons Medium
453 minimum-moves-to-equal-array-elements Cpp πŸ“ Easy
454 4sum-ii Cpp Medium
455 assign-cookies Easy
456 132-pattern πŸ“ Medium
459 repeated-substring-pattern Easy
460 lfu-cache Hard
461 hamming-distance Cpp Easy
462 minimum-moves-to-equal-array-elements-ii Cpp πŸ“ Medium
463 island-perimeter Cpp 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 Cpp Easy
477 total-hamming-distance πŸ“ Medium
479 largest-palindrome-product Easy
480 sliding-window-median πŸ“ Hard
481 magical-string Medium
482 license-key-formatting Cpp Medium
483 smallest-good-base Hard
484 find-permutation πŸ”’ πŸ“ Medium
485 max-consecutive-ones Cpp 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 Cpp Easy
493 reverse-pairs πŸ“ Hard
494 target-sum πŸ“ Medium
495 teemo-attacking Medium
496 next-greater-element-i πŸ“ Easy
498 diagonal-traverse Medium
499 the-maze-iii πŸ”’ Hard
500 keyboard-row Cpp 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
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
520 detect-capital Cpp 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 Cpp πŸ“ Medium
526 beautiful-arrangement Cpp πŸ“ 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 Cpp 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 friend-circles πŸ“ Medium
548 split-array-with-equal-sum πŸ”’ πŸ“ Medium
549 binary-tree-longest-consecutive-sequence-ii πŸ”’ πŸ“ Medium
551 student-attendance-record-i Cpp πŸ“ 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 Cpp πŸ“ Easy
560 subarray-sum-equals-k πŸ“ Medium
561 array-partition-i Cpp πŸ“ Easy
562 longest-line-of-consecutive-one-in-matrix πŸ”’ πŸ“ Medium
563 binary-tree-tilt πŸ“ Easy
564 find-the-closest-palindrome πŸ“ Hard
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 πŸ“ 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 πŸ“ 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 πŸ”’ πŸ“ 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 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 judge-route-circle 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 πŸ“ Easy
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 πŸ“ 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages