This repository records my solutions on LeetCode, written in Java and Python.
❤️ Notes and summaries are in my blog.
đź–Ą This README.md
is generated automatically.
ID | Title | Java | Python |
---|---|---|---|
1 | two-sum | java | python3 |
2 | add-two-numbers | java | python3 |
3 | longest-substring-without-repeating-characters | java | |
4 | median-of-two-sorted-arrays | java | |
5 | longest-palindromic-substring | java | |
6 | zigzag-conversion | java | |
7 | reverse-integer | java | |
8 | string-to-integer-atoi | java | |
9 | palindrome-number | java | |
10 | regular-expression-matching | java | |
11 | container-with-most-water | java | |
12 | integer-to-roman | java | |
13 | roman-to-integer | java | |
14 | longest-common-prefix | java | |
15 | 3sum | java | |
16 | 3sum-closest | java | |
17 | letter-combinations-of-a-phone-number | java | |
18 | 4sum | java | |
19 | remove-nth-node-from-end-of-list | java | |
20 | valid-parentheses | java | |
21 | merge-two-sorted-lists | java | python3 |
22 | generate-parentheses | java | |
23 | merge-k-sorted-lists | java | python3 |
24 | swap-nodes-in-pairs | java | |
25 | reverse-nodes-in-k-group | java | |
26 | remove-duplicates-from-sorted-array | java | |
27 | remove-element | java | |
28 | implement-strstr | java | |
29 | divide-two-integers | java | |
31 | next-permutation | java | |
32 | longest-valid-parentheses | java | |
33 | search-in-rotated-sorted-array | java | |
34 | find-first-and-last-position-of-element-in-sorted-array | java | |
35 | search-insert-position | java | |
36 | valid-sudoku | java | |
37 | sudoku-solver | java | |
39 | combination-sum | java | |
40 | combination-sum-ii | java | |
41 | first-missing-positive | java | |
42 | trapping-rain-water | java | |
43 | multiply-strings | java | |
44 | wildcard-matching | java | |
45 | jump-game-ii | java | python3 |
46 | permutations | java | |
47 | permutations-ii | java | python3 |
48 | rotate-image | java | |
49 | group-anagrams | java | |
50 | powx-n | java | |
51 | n-queens | java | |
52 | n-queens-ii | java | |
53 | maximum-subarray | java | |
54 | spiral-matrix | java | |
55 | jump-game | java | python3 |
56 | merge-intervals | java | python3 |
57 | insert-interval | java | |
58 | length-of-last-word | java | |
60 | permutation-sequence | java | |
61 | rotate-list | java | |
62 | unique-paths | java | |
63 | unique-paths-ii | java | |
64 | minimum-path-sum | java | |
66 | plus-one | java | |
67 | add-binary | java | |
69 | sqrtx | java | |
70 | climbing-stairs | java | |
71 | simplify-path | java | |
72 | edit-distance | java | |
73 | set-matrix-zeroes | java | |
74 | search-a-2d-matrix | java | |
75 | sort-colors | java | |
76 | minimum-window-substring | java | |
77 | combinations | java | |
78 | subsets | java | |
79 | word-search | java | |
80 | remove-duplicates-from-sorted-array-ii | java | |
81 | search-in-rotated-sorted-array-ii | java | |
82 | remove-duplicates-from-sorted-list-ii | java | |
83 | remove-duplicates-from-sorted-list | java | |
84 | largest-rectangle-in-histogram | java | |
86 | partition-list | java | |
88 | merge-sorted-array | java | |
89 | gray-code | python3 | |
90 | subsets-ii | java | |
91 | decode-ways | java | |
92 | reverse-linked-list-ii | java | |
93 | restore-ip-addresses | python3 | |
94 | binary-tree-inorder-traversal | java | python3 |
95 | unique-binary-search-trees-ii | java | |
96 | unique-binary-search-trees | java | |
97 | interleaving-string | python3 | |
98 | validate-binary-search-tree | java | |
99 | recover-binary-search-tree | java | |
100 | same-tree | java | |
101 | symmetric-tree | java | |
103 | binary-tree-zigzag-level-order-traversal | java | |
104 | maximum-depth-of-binary-tree | java | |
105 | construct-binary-tree-from-preorder-and-inorder-traversal | java | |
106 | construct-binary-tree-from-inorder-and-postorder-traversal | java | |
107 | binary-tree-level-order-traversal-ii | java | |
108 | convert-sorted-array-to-binary-search-tree | java | |
109 | convert-sorted-list-to-binary-search-tree | java | |
110 | balanced-binary-tree | java | |
111 | minimum-depth-of-binary-tree | java | |
112 | path-sum | java | |
113 | path-sum-ii | java | |
114 | flatten-binary-tree-to-linked-list | java | |
116 | populating-next-right-pointers-in-each-node | java | |
117 | populating-next-right-pointers-in-each-node-ii | java | |
118 | pascals-triangle | java | |
119 | pascals-triangle-ii | java | |
120 | triangle | java | |
121 | best-time-to-buy-and-sell-stock | java | |
122 | best-time-to-buy-and-sell-stock-ii | java | |
123 | best-time-to-buy-and-sell-stock-iii | java | |
124 | binary-tree-maximum-path-sum | java | |
125 | valid-palindrome | java | |
126 | word-ladder-ii | python3 | |
127 | word-ladder | java | |
128 | longest-consecutive-sequence | java | |
129 | sum-root-to-leaf-numbers | java | |
130 | surrounded-regions | java | |
131 | palindrome-partitioning | java | |
133 | clone-graph | java | |
134 | gas-station | python3 | |
136 | single-number | java | |
138 | copy-list-with-random-pointer | java | |
139 | word-break | java | python3 |
140 | word-break-ii | java | |
141 | linked-list-cycle | java | |
142 | linked-list-cycle-ii | java | |
143 | reorder-list | java | |
144 | binary-tree-preorder-traversal | java | |
145 | binary-tree-postorder-traversal | java | |
146 | lru-cache | java | |
147 | insertion-sort-list | python3 | |
148 | sort-list | java | python3 |
149 | max-points-on-a-line | python3 | |
150 | evaluate-reverse-polish-notation | java | |
151 | reverse-words-in-a-string | java | |
152 | maximum-product-subarray | java | |
153 | find-minimum-in-rotated-sorted-array | java | |
154 | find-minimum-in-rotated-sorted-array-ii | java | |
155 | min-stack | java | |
156 | binary-tree-upside-down | python3 | |
157 | read-n-characters-given-read4 | java | |
160 | intersection-of-two-linked-lists | java | |
161 | one-edit-distance | java | |
162 | find-peak-element | java | |
163 | missing-ranges | python3 | |
165 | compare-version-numbers | python3 | |
167 | two-sum-ii-input-array-is-sorted | java | |
168 | excel-sheet-column-title | java | |
169 | majority-element | java | |
170 | two-sum-iii-data-structure-design | java | |
171 | excel-sheet-column-number | python3 | |
173 | binary-search-tree-iterator | java | |
179 | largest-number | java | |
187 | repeated-dna-sequences | python3 | |
188 | best-time-to-buy-and-sell-stock-iv | java | |
189 | rotate-array | java | |
191 | number-of-1-bits | java | |
198 | house-robber | java | |
199 | binary-tree-right-side-view | java | |
200 | number-of-islands | java | |
202 | happy-number | java | |
203 | remove-linked-list-elements | java | |
204 | count-primes | java | |
205 | isomorphic-strings | java | |
206 | reverse-linked-list | java | |
207 | course-schedule | java | python3 |
208 | implement-trie-prefix-tree | java | |
209 | minimum-size-subarray-sum | java | |
210 | course-schedule-ii | java | |
211 | add-and-search-word-data-structure-design | java | |
212 | word-search-ii | java | |
213 | house-robber-ii | python3 | |
215 | kth-largest-element-in-an-array | java | |
216 | combination-sum-iii | java | |
217 | contains-duplicate | java | |
218 | the-skyline-problem | java | |
219 | contains-duplicate-ii | java | |
221 | maximal-square | java | |
222 | count-complete-tree-nodes | python3 | |
224 | basic-calculator | java | |
225 | implement-stack-using-queues | java | |
226 | invert-binary-tree | java | |
227 | basic-calculator-ii | java | |
228 | summary-ranges | python3 | |
229 | majority-element-ii | java | |
230 | kth-smallest-element-in-a-bst | java | |
231 | power-of-two | java | |
232 | implement-queue-using-stacks | java | |
234 | palindrome-linked-list | java | |
235 | lowest-common-ancestor-of-a-binary-search-tree | java | |
236 | lowest-common-ancestor-of-a-binary-tree | java | |
237 | delete-node-in-a-linked-list | java | |
238 | product-of-array-except-self | java | |
239 | sliding-window-maximum | java | |
240 | search-a-2d-matrix-ii | java | |
241 | different-ways-to-add-parentheses | java | |
242 | valid-anagram | java | |
243 | shortest-word-distance | java | |
245 | shortest-word-distance-iii | python3 | |
246 | strobogrammatic-number | java | |
247 | strobogrammatic-number-ii | java | |
249 | group-shifted-strings | python3 | |
250 | count-univalue-subtrees | python3 | |
251 | flatten-2d-vector | java | |
252 | meeting-rooms | java | |
253 | meeting-rooms-ii | java | python3 |
255 | verify-preorder-sequence-in-binary-search-tree | java | |
256 | paint-house | java | |
257 | binary-tree-paths | java | |
258 | add-digits | python3 | |
259 | 3sum-smaller | python3 | |
261 | graph-valid-tree | java | |
264 | ugly-number-ii | python3 | |
266 | palindrome-permutation | java | |
268 | missing-number | java | |
269 | alien-dictionary | java | |
270 | closest-binary-search-tree-value | java | |
271 | encode-and-decode-strings | python3 | |
273 | integer-to-english-words | java | |
274 | h-index | java | |
275 | h-index-ii | java | |
277 | find-the-celebrity | java | |
278 | first-bad-version | java | |
279 | perfect-squares | python3 | |
280 | wiggle-sort | java | |
281 | zigzag-iterator | java | |
282 | expression-add-operators | java | |
284 | peeking-iterator | python3 | |
285 | inorder-successor-in-bst | java | |
286 | walls-and-gates | java | |
287 | find-the-duplicate-number | java | |
288 | unique-word-abbreviation | python3 | |
289 | game-of-life | python3 | |
290 | word-pattern | python3 | |
294 | flip-game-ii | python3 | |
295 | find-median-from-data-stream | java | |
296 | best-meeting-point | java | |
297 | serialize-and-deserialize-binary-tree | java | |
298 | binary-tree-longest-consecutive-sequence | java | |
299 | bulls-and-cows | java | |
300 | longest-increasing-subsequence | java | [python3](./python3/300. longest-increasing-subsequence.py) |
301 | remove-invalid-parentheses | java | |
303 | range-sum-query-immutable | java | |
304 | range-sum-query-2d-immutable | java | |
305 | number-of-islands-ii | java | |
306 | additive-number | python3 | |
307 | range-sum-query-mutable | java | python3 |
309 | best-time-to-buy-and-sell-stock-with-cooldown | java | |
310 | minimum-height-trees | python3 | |
311 | sparse-matrix-multiplication | java | |
314 | binary-tree-vertical-order-traversal | java | |
315 | count-of-smaller-numbers-after-self | java | |
316 | remove-duplicate-letters | python3 | |
317 | shortest-distance-from-all-buildings | java | |
320 | generalized-abbreviation | python3 | |
322 | coin-change | java | python3 |
323 | number-of-connected-components-in-an-undirected-graph | java | |
325 | maximum-size-subarray-sum-equals-k | java | |
326 | power-of-three | python3 | |
328 | odd-even-linked-list | java | |
329 | longest-increasing-path-in-a-matrix | java | |
332 | reconstruct-itinerary | java | |
333 | largest-bst-subtree | python3 | |
334 | increasing-triplet-subsequence | python3 | |
336 | palindrome-pairs | python3 | |
337 | house-robber-iii | python3 | |
338 | counting-bits | java | |
339 | nested-list-weight-sum | java | |
341 | flatten-nested-list-iterator | java | |
344 | reverse-string | java | |
345 | reverse-vowels-of-a-string | java | |
346 | moving-average-from-data-stream | java | |
347 | top-k-frequent-elements | java | |
348 | design-tic-tac-toe | java | |
349 | intersection-of-two-arrays | java | python3 |
350 | intersection-of-two-arrays-ii | java | |
353 | design-snake-game | python3 | |
354 | russian-doll-envelopes | python3 | |
356 | line-reflection | python3 | |
359 | logger-rate-limiter | java | python3 |
361 | boom-enemy | python3 | |
362 | design-hit-counter | java | |
365 | water-and-jug-problem | python3 | |
366 | find-leaves-of-binary-tree | java | |
367 | valid-perfect-square | java | |
370 | range-addition | python3 | |
374 | guess-number-higher-or-lower | java | python3 |
375 | guess-number-higher-or-lower-ii | python3 | |
377 | combination-sum-iv | java | |
378 | kth-smallest-element-in-a-sorted-matrix | java | |
379 | design-phone-directory | python3 | |
380 | insert-delete-getrandom-o1 | java | |
381 | insert-delete-getrandom-o1-duplicates-allowed | java | |
383 | ransom-note | java | |
384 | shuffle-an-array | python3 | |
387 | first-unique-character-in-a-string | java | |
388 | longest-absolute-file-path | python3 | |
389 | find-the-difference | java | |
392 | is-subsequence | java | |
394 | decode-string | java | |
395 | longest-substring-with-at-least-k-repeating-characters | python3 | |
396 | rotate-function | python3 | |
397 | integer-replacement | python3 | |
398 | random-pick-index | java | |
399 | evaluate-division | java | |
403 | frog-jump | java | |
404 | sum-of-left-leaves | java | |
408 | valid-word-abbreviation | java | |
409 | longest-palindrome | java | |
412 | fizz-buzz | java | |
414 | third-maximum-number | python3 | |
415 | add-strings | java | |
416 | partition-equal-subset-sum | python3 | |
417 | pacific-atlantic-water-flow | python3 | |
418 | sentence-screen-fitting | java | |
419 | battleships-in-a-board | python3 | |
424 | longest-repeating-character-replacement | python3 | |
426 | convert-binary-search-tree-to-sorted-doubly-linked-list | java | |
427 | construct-quad-tree | java | |
428 | serialize-and-deserialize-n-ary-tree | python3 | |
429 | n-ary-tree-level-order-traversal | java | |
430 | flatten-a-multilevel-doubly-linked-list | java | |
435 | non-overlapping-intervals | java | |
437 | path-sum-iii | java | |
438 | find-all-anagrams-in-a-string | java | |
441 | arranging-coins | java | |
442 | find-all-duplicates-in-an-array | python3 | |
443 | string-compression | java | |
445 | add-two-numbers-ii | java | |
448 | find-all-numbers-disappeared-in-an-array | python3 | |
450 | delete-node-in-a-bst | java | |
452 | minimum-number-of-arrows-to-burst-balloons | java | |
454 | 4sum-ii | java | |
457 | circular-array-loop | python3 | |
459 | repeated-substring-pattern | python3 | |
461 | hamming-distance | java | |
463 | island-perimeter | java | |
465 | optimal-account-balancing | python3 | |
467 | unique-substrings-in-wraparound-string | java | |
475 | heaters | java | |
476 | number-complement | python3 | |
482 | license-key-formatting | java | |
485 | max-consecutive-ones | java | |
487 | max-consecutive-ones-ii | java | |
489 | robot-room-cleaner | java | |
490 | the-maze | java | |
491 | increasing-subsequences | java | |
492 | construct-the-rectangle | python3 | |
493 | reverse-pairs | java | |
494 | target-sum | java | |
495 | teemo-attacking | python3 | |
496 | next-greater-element-i | java | python3 |
498 | diagonal-traverse | java | |
500 | keyboard-row | python3 | |
501 | find-mode-in-binary-search-tree | python3 | |
503 | next-greater-element-ii | java | python3 |
505 | the-maze-ii | java | |
508 | most-frequent-subtree-sum | python3 | |
509 | fibonacci-number | java | |
510 | inorder-successor-in-bst-ii | python3 | |
513 | find-bottom-left-tree-value | java | |
518 | coin-change-2 | java | |
523 | continuous-subarray-sum | java | |
524 | longest-word-in-dictionary-through-deleting | python3 | |
528 | random-pick-with-weight | java | |
529 | minesweeper | python3 | |
530 | minimum-absolute-difference-in-bst | python3 | |
531 | lonely-pixel-i | python3 | |
536 | construct-binary-tree-from-string | python3 | |
538 | convert-bst-to-greater-tree | java | |
542 | 0-1-matrix | python3 | |
543 | diameter-of-binary-tree | java | |
544 | output-contest-matches | python3 | |
545 | boundary-of-binary-tree | python3 | |
547 | number-of-provinces | python3 | |
549 | binary-tree-longest-consecutive-sequence-ii | python3 | |
551 | student-attendance-record-i | python3 | |
552 | student-attendance-record-ii | python3 | |
556 | next-greater-element-iii | java | |
557 | reverse-words-in-a-string-iii | java | |
559 | maximum-depth-of-n-ary-tree | java | |
560 | subarray-sum-equals-k | java | |
561 | array-partition-i | java | |
562 | longest-line-of-consecutive-one-in-matrix | python3 | |
563 | binary-tree-tilt | java | |
564 | find-the-closest-palindrome | java | |
566 | reshape-the-matrix | java | |
567 | permutation-in-string | java | |
572 | subtree-of-another-tree | java | |
573 | squirrel-simulation | python3 | |
581 | shortest-unsorted-continuous-subarray | python3 | |
582 | kill-process | python3 | |
588 | design-in-memory-file-system | python3 | |
589 | n-ary-tree-preorder-traversal | java | |
590 | n-ary-tree-postorder-traversal | java | |
593 | valid-square | java | |
598 | range-addition-ii | python3 | |
599 | minimum-index-sum-of-two-lists | java | |
606 | construct-string-from-binary-tree | java | |
609 | find-duplicate-file-in-system | python3 | |
617 | merge-two-binary-trees | java | |
621 | task-scheduler | java | |
622 | design-circular-queue | java | |
623 | add-one-row-to-tree | python3 | |
636 | exclusive-time-of-functions | java | |
637 | average-of-levels-in-binary-tree | java | |
638 | shopping-offers | python3 | |
642 | design-search-autocomplete-system | python3 | |
645 | set-mismatch | java | |
647 | palindromic-substrings | java | |
652 | find-duplicate-subtrees | python3 | |
653 | two-sum-iv-input-is-a-bst | java | |
654 | maximum-binary-tree | java | |
655 | print-binary-tree | python3 | |
658 | find-k-closest-elements | java | |
661 | image-smoother | python3 | |
662 | maximum-width-of-binary-tree | python3 | |
663 | equal-tree-partition | python3 | |
669 | trim-a-binary-search-tree | java | |
671 | second-minimum-node-in-a-binary-tree | python3 | |
673 | number-of-longest-increasing-subsequence | java | |
674 | longest-continuous-increasing-subsequence | java | |
678 | valid-parenthesis-string | java | |
680 | valid-palindrome-ii | java | |
682 | baseball-game | python3 | |
684 | redundant-connection | python3 | |
686 | repeated-string-match | python3 | |
687 | longest-univalue-path | java | |
689 | maximum-sum-of-3-non-overlapping-subarrays | java | |
690 | employee-importance | java | |
692 | top-k-frequent-words | java | |
693 | binary-number-with-alternating-bits | java | |
695 | max-area-of-island | java | |
698 | partition-to-k-equal-sum-subsets | python3 | |
699 | falling-squares | python3 | |
700 | search-in-a-binary-search-tree | java | |
701 | insert-into-a-binary-search-tree | java | |
702 | search-in-a-sorted-array-of-unknown-size | java | |
703 | kth-largest-element-in-a-stream | java | |
704 | binary-search | python3 | |
706 | design-hashmap | java | |
707 | design-linked-list | java | |
708 | insert-into-a-cyclic-sorted-list | java | |
709 | to-lower-case | java | |
714 | best-time-to-buy-and-sell-stock-with-transaction-fee | java | |
715 | range-module | python3 | |
716 | max-stack | java | |
717 | 1-bit-and-2-bit-characters | java | |
721 | accounts-merge | java | |
722 | remove-comments | python3 | |
724 | find-pivot-index | java | |
725 | split-linked-list-in-parts | java | |
729 | my-calendar-i | java | python3 |
731 | my-calendar-ii | python3 | |
732 | my-calendar-iii | python3 | |
733 | flood-fill | java | |
734 | sentence-similarity | python3 | |
737 | sentense-similarity-ii | python3 | |
739 | daily-temperatures | python3 | |
742 | closest-leaf-in-binary-tree | python3 | |
744 | find-smallest-letter-greater-than-target | java | |
746 | min-cost-climbing-stairs | java | |
747 | largest-number-at-least-twice-of-others | java | |
752 | open-the-lock | python3 | |
758 | bold-words-in-string | python3 | |
760 | find-anagram-mappings | java | |
762 | prime-number-of-set-bits-in-binary-representation | java | |
766 | toeplitz-matrix | java | |
767 | reorganize-string | java | |
769 | max-chunks-to-make-sorted | python3 | |
771 | jewels-and-stones | java | |
772 | basic-calculator-iii | java | |
776 | split-bst | java | |
777 | swap-adjacent-in-lr-string | python3 | |
778 | swim-in-rising-water | python3 | |
783 | minimum-distance-between-bst-nodes | java | |
784 | letter-case-permutation | java | |
785 | is-graph-bipartite | java | |
787 | cheapest-flights-within-k-stops | java | |
788 | rotated-digits | python3 | |
791 | custom-sort-string | java | |
792 | number-of-matching-subsequences | python3 | |
804 | unique-morse-code-words | java | |
806 | number-of-lines-to-write-string | python3 | |
807 | max-increase-to-keep-city-skyline | python3 | |
809 | expressive-words | python3 | |
811 | subdomain-visit-count | python3 | |
812 | largest-triangle-area | python3 | |
814 | binary-tree-pruning | java | |
815 | bus-routes | python3 | |
817 | linked-list-components | python3 | |
819 | most-common-word | java | |
821 | shortest-distance-to-a-character | python3 | |
824 | goat-latin | java | |
825 | friends-of-appropriate-ages | java | |
826 | most-profit-assigning-work | python3 | |
830 | positions-of-large-groups | java | |
832 | flipping-an-image | java | |
833 | find-and-replace-in-string | python3 | |
834 | sum-of-distances-in-tree | python3 | |
836 | rectangle-overlap | python3 | |
837 | new-21-game | python3 | |
840 | magic-squares-in-grid | python3 | |
842 | split-array-into-fibonacci-sequence | python3 | |
843 | guess-the-word | python3 | |
844 | backspace-string-compare | java | |
846 | hand-of-straights | python3 | |
847 | shortest-path-visiting-all-nodes | python3 | |
849 | maximize-distance-to-closest-person | python3 | |
852 | peak-index-in-a-mountain-array | java | |
853 | car-fleet | python3 | |
855 | exam-room | python3 | |
856 | score-of-parentheses | python3 | |
858 | mirror-reflection | python3 | |
862 | shortest-subarray-with-sum-at-least-k | python3 | |
863 | all-nodes-distance-k-in-binary-tree | python3 | |
865 | smallest-subtree-with-all-the-deepest-nodes | python3 | |
867 | transpose-matrix | java | |
872 | leaf-similar-trees | python3 | |
875 | koko-eating-bananas | python3 | |
876 | middle-of-the-linked-list | java | |
877 | stone-game | python3 | |
884 | uncommon-words-from-two-sentences | python3 | |
886 | possible-bipartition | java | |
888 | fair-candy-swap | java | |
889 | construct-binary-tree-from-preorder-and-postorder-traversal | java | |
890 | find-and-replace-pattern | python3 | |
893 | groups-of-special-equivalent-strings | python3 | |
894 | all-possible-full-binary-trees | python3 | |
896 | monotonic-array | java | |
897 | increasing-order-search-tree | java | |
898 | bitwise-ors-of-subarrays | java | |
900 | rle-iterator | python3 | |
904 | fruit-into-baskets | java | |
905 | sort-array-by-parity | java | |
907 | sum-of-subarray-minimums | python3 | |
908 | smallest-range-i | python3 | |
911 | online-election | python3 | |
914 | x-of-a-kind-in-a-deck-of-cards | python3 | |
917 | reverse-only-letters | python3 | |
922 | sort-array-by-parity-ii | java | |
925 | long-pressed-name | python3 | |
929 | unique-email-addresses | java | |
933 | number-of-recent-calls | java | |
934 | shortest-bridge | python3 | |
938 | range-sum-of-bst | python3 | |
941 | valid-mountain-array | java | |
942 | di-string-match | python3 | |
946 | validate-stack-sequences | python3 | |
947 | most-stones-removed-with-same-row-or-column | python3 | |
951 | flip-equavalent-binary-trees | python3 | |
958 | check-completeness-of-a-binary-tree | python3 | |
965 | univalued-binary-tree | python3 | |
969 | pancake-sorting | python3 | |
973 | k-closest-points-to-origin | python3 | |
976 | largest-perimeter-triangle | python3 | |
977 | squares-of-a-sorted-array | java | |
979 | distribute-coins-in-binary-tree | python3 | |
980 | unique-paths-iii | python3 | |
981 | time-based-key-value-store | python3 | |
985 | sum-of-even-numbers-after-queries | java | |
986 | interval-list-intersections | python3 | |
987 | vertical-order-traversal-of-a-binary-tree | python3 | |
993 | cousins-in-binary-tree | python3 | |
994 | rotting-oranges | python3 | |
998 | maximum-binary-tree-ii | python3 | |
999 | available-captures-for-rook | python3 | |
1002 | find-common-characters | python3 | |
1011 | capacity-to-ship-packages-within-d-days | python3 | |
1014 | best-sightseeing-pair | python3 | |
1022 | sum-of-root-to-leaf-binary-numbers | python3 | |
1024 | video-stitching | python3 | |
1026 | maximum-difference-between-node-and-ancestor | python3 | |
1027 | longest-arithmetic-subsequence | python3 | |
1029 | two-city-scheduling | java | |
1030 | matrix-cells-in-distance-order | java | |
1031 | maximum-sum-of-two-non-overlapping-subarrays | java | |
1032 | stream-of-characters | python3 | |
1037 | valid-boomerang | python3 | |
1046 | last-stone-weight | python3 | |
1047 | remove-all-adjacent-duplicates-in-string | python3 | |
1048 | longest-string-chain | python3 | |
1049 | last-stone-weight-ii | python3 | |
1054 | distant-barcodes | python3 | |
1057 | campus-bikes | python3 | |
1064 | fixed-point | python3 | |
1066 | campus-bikes-ii | python3 | |
1087 | brace-expansion | python3 | |
1089 | duplicate-zeros | python3 | |
1091 | shortest-path-in-binary-matrix | python3 | |
1102 | path-with-maximum-minimum-value | python3 | |
1108 | defanging-an-ip-address | python3 | |
1110 | delete-nodes-and-return-forest | python3 | |
1122 | relative-sort-array | python3 | |
1123 | lowest-common-ancestor-of-deepest-leaves | python3 | |
1128 | number-of-equivalent-domino-pairs | python3 | |
1129 | shortest-path-with-alternating-colors | python3 | |
1136 | parellel-courses | python3 | |
1138 | alphabet-board-path | python3 | |
1140 | stone-game-ii | python3 | |
1143 | longest-common-subsequence | python3 | |
1144 | decrease-elements-to-make-array-zigzag | python3 | |
1146 | snapshot-array | python3 | |
1157 | online-majority-element-in-subarray | python3 | |
1187 | make-array-strictly-increasing | python3 | |
1197 | minimum-knight-moves | python3 | |
1219 | path-with-maximum-gold | python3 | |
1235 | maximum-profit-in-job-scheduling | python3 | |
1244 | design-a-leaderboard | java | |
1252 | cells-with-odd-values-in-a-matrix | python3 | |
1254 | number-of-clesed-islands | python3 | |
1256 | encode-number | python3 | |
1277 | count-square-submatrices-with-all-ones | python3 | |
1293 | shortest-path-in-a-grid-with-obstacles-elimination | python3 | |
1313 | decompress-run-length-encoded-list | python3 | |
1326 | minimum-number-of-taps-to-open-to-water-a-garden | python3 | |
1345 | jump-game-iv | python3 | |
1352 | product-of-the-last-k-numbers | python3 | |
1368 | minimum-cost-to-make-at-least-one-valid-path-in-a-grid | python3 | |
1376 | time-needed-to-inform-all-employees | python3 | |
1377 | frog-position-after-t-seconds | python3 | |
1387 | sort-integers-by-the-power-value | python3 | |
1406 | stone-game-iii | python3 | |
1423 | maximum-points-you-can-obtain-from-cards | python3 | |
1438 | longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit | python3 | |
1450 | number-of-students-doing-homework-at-a-given-time | python3 | |
1451 | rearrange-words-in-sentence | python3 | |
1477 | find-two-non-overlapping-sub-arrays-each-with-target-sun | python3 | |
1480 | running-sum-of-1d-array | python3 | |
1483 | kth-ancestor-of-a-tree-node | python3 | |
1499 | max-value-of-equation | python3 | |
1509 | minimum-difference-between-largest-and-smallest-value-in-three-moves | python3 | |
1510 | stone-game-iv | python3 | |
1525 | number-of-good-ways-to-split-a-string | python3 | |
1526 | minimum-number-of-increments-on-subarrays-to-form-a-target-array | python3 | |
1539 | kth-missing-positive-number | python3 | |
1548 | the-most-similar-path-in-a-graph | python3 | |
1553 | minimum-number-of-days-to-eat-n-oranges | python3 | |
1576 | replace-all-?s-to-avoid-consecutive-repeating-characters | python3 | |
1584 | min-cost-to-connect-all-points | python3 | |
1603 | design-parking-system | python3 | |
1610 | maximum-number-of-visible-points | python3 | |
1616 | split-two-strings-to-make-palindrome | python3 | |
1631 | path-with-minimum-effort | python3 | |
1642 | furthest-building-you-can-reach | python3 | |
1658 | minimum-operations-to-reduce-x-to-zero | python3 | |
1690 | stone-game-vii | python3 | |
1697 | checking-existence-of-edge-length-limited-paths | python3 | |
1706 | where-will-the-ball-fall | python3 | |
1770 | maximum-score-from-performing-multiplication-operations | python3 | |
1778 | shortest-path-in-a-hidden-grid | python3 | |
1782 | count-pairs-of-nodes | python3 | |
1796 | second-largest-digit-in-a-string | python3 | |
1798 | maximum-number-of-consecutive-values-you-can-make | python3 | |
1804 | implement-trie-ii | python3 | |
1805 | number-of-different-integers-in-a-string | python3 | |
1806 | minimum-number-of-operations-to-reinitialize-a-permutation | python3 | |
1807 | evaluate-the-bracket-pairs-of-a-string | python3 | |
1810 | minimum-path-cost-in-a-hidden-grid | python3 | |
1814 | count-nice-pairs-in-an-array | python3 | |
1834 | single-threaded-cpu | python3 | |
1861 | rotating-the-box | python3 |
The script needs python3
.
python readme-generator.py
- Xuanqi Li - Initial work