File tree
456 files changed
+887
-881
lines changed- problems
- 1-bit-and-2-bit-characters
- 2-keys-keyboard
- 3sum
- 3sum-closest
- 4sum
- 4sum-ii
- accounts-merge
- add-and-search-word-data-structure-design
- add-binary
- add-digits
- add-strings
- add-two-numbers
- add-two-numbers-ii
- additive-number
- arithmetic-slices
- arithmetic-slices-ii-subsequence
- array-nesting
- asteroid-collision
- average-of-levels-in-binary-tree
- balanced-binary-tree
- basic-calculator
- basic-calculator-ii
- basic-calculator-iv
- beautiful-arrangement
- beautiful-arrangement-ii
- best-time-to-buy-and-sell-stock
- best-time-to-buy-and-sell-stock-ii
- best-time-to-buy-and-sell-stock-iii
- best-time-to-buy-and-sell-stock-iv
- best-time-to-buy-and-sell-stock-with-cooldown
- best-time-to-buy-and-sell-stock-with-transaction-fee
- binary-number-with-alternating-bits
- binary-search
- binary-search-tree-iterator
- binary-tree-inorder-traversal
- binary-tree-level-order-traversal
- binary-tree-level-order-traversal-ii
- binary-tree-maximum-path-sum
- binary-tree-paths
- binary-tree-postorder-traversal
- binary-tree-preorder-traversal
- binary-tree-right-side-view
- binary-tree-zigzag-level-order-traversal
- binary-watch
- bulb-switcher
- bulb-switcher-ii
- can-i-win
- can-place-flowers
- cheapest-flights-within-k-stops
- cherry-pickup
- climbing-stairs
- clone-graph
- combination-sum
- combination-sum-ii
- combination-sum-iii
- combination-sum-iv
- combinations
- combine-two-tables
- concatenated-words
- construct-binary-tree-from-inorder-and-postorder-traversal
- construct-binary-tree-from-preorder-and-inorder-traversal
- construct-string-from-binary-tree
- container-with-most-water
- contains-duplicate
- contains-duplicate-ii
- contains-duplicate-iii
- contiguous-array
- continuous-subarray-sum
- convert-sorted-array-to-binary-search-tree
- convert-sorted-list-to-binary-search-tree
- copy-list-with-random-pointer
- count-and-say
- count-binary-substrings
- count-complete-tree-nodes
- count-different-palindromic-subsequences
- count-of-range-sum
- count-of-smaller-numbers-after-self
- count-primes
- counting-bits
- couples-holding-hands
- course-schedule
- course-schedule-ii
- course-schedule-iii
- create-maximum-number
- daily-temperatures
- data-stream-as-disjoint-intervals
- decode-string
- decode-ways
- decode-ways-ii
- degree-of-an-array
- delete-and-earn
- delete-node-in-a-bst
- delete-node-in-a-linked-list
- delete-operation-for-two-strings
- design-circular-deque
- design-circular-queue
- design-hashmap
- design-hashset
- different-ways-to-add-parentheses
- dota2-senate
- dungeon-game
- edit-distance
- employee-importance
- evaluate-reverse-polish-notation
- exam-room
- excel-sheet-column-number
- excel-sheet-column-title
- expression-add-operators
- factorial-trailing-zeroes
- falling-squares
- find-all-anagrams-in-a-string
- find-all-duplicates-in-an-array
- find-all-numbers-disappeared-in-an-array
- find-duplicate-subtrees
- find-first-and-last-position-of-element-in-sorted-array
- find-k-closest-elements
- find-k-pairs-with-smallest-sums
- find-k-th-smallest-pair-distance
- find-median-from-data-stream
- find-minimum-in-rotated-sorted-array
- find-minimum-in-rotated-sorted-array-ii
- find-mode-in-binary-search-tree
- find-peak-element
- find-pivot-index
- find-right-interval
- find-the-difference
- find-the-duplicate-number
- first-bad-version
- first-missing-positive
- first-unique-character-in-a-string
- flatten-a-multilevel-doubly-linked-list
- flatten-binary-tree-to-linked-list
- flatten-nested-list-iterator
- flood-fill
- fraction-addition-and-subtraction
- friend-circles
- game-of-life
- generate-parentheses
- generate-random-point-in-a-circle
- gray-code
- group-anagrams
- guess-number-higher-or-lower
- guess-number-higher-or-lower-ii
- h-index
- h-index-ii
- hamming-distance
- happy-number
- house-robber
- house-robber-ii
- house-robber-iii
- implement-magic-dictionary
- implement-queue-using-stacks
- implement-stack-using-queues
- implement-strstr
- implement-trie-prefix-tree
- increasing-subsequences
- increasing-triplet-subsequence
- insert-delete-getrandom-o1
- insert-delete-getrandom-o1-duplicates-allowed
- insert-interval
- insert-into-a-binary-search-tree
- insertion-sort-list
- integer-to-english-words
- integer-to-roman
- intersection-of-two-arrays
- intersection-of-two-arrays-ii
- intersection-of-two-linked-lists
- is-subsequence
- island-perimeter
- isomorphic-strings
- jump-game
- jump-game-ii
- k-diff-pairs-in-an-array
- k-similar-strings
- k-th-smallest-prime-fraction
- knight-probability-in-chessboard
- koko-eating-bananas
- kth-largest-element-in-a-stream
- kth-largest-element-in-an-array
- kth-smallest-element-in-a-bst
- kth-smallest-element-in-a-sorted-matrix
- kth-smallest-number-in-multiplication-table
- largest-plus-sign
- largest-rectangle-in-histogram
- letter-case-permutation
- letter-combinations-of-a-phone-number
- lfu-cache
- linked-list-cycle
- linked-list-cycle-ii
- linked-list-random-node
- longest-consecutive-sequence
- longest-continuous-increasing-subsequence
- longest-increasing-subsequence
- longest-palindrome
- longest-palindromic-subsequence
- longest-palindromic-substring
- longest-repeating-character-replacement
- longest-substring-without-repeating-characters
- longest-uncommon-subsequence-i
- longest-uncommon-subsequence-ii
- longest-univalue-path
- longest-valid-parentheses
- longest-word-in-dictionary
- longest-word-in-dictionary-through-deleting
- lowest-common-ancestor-of-a-binary-search-tree
- lowest-common-ancestor-of-a-binary-tree
- lru-cache
- majority-element
- majority-element-ii
- max-area-of-island
- max-chunks-to-make-sorted
- max-chunks-to-make-sorted-ii
- max-consecutive-ones
- max-points-on-a-line
- maximal-rectangle
- maximal-square
- maximize-distance-to-closest-person
- maximum-average-subarray-i
- maximum-depth-of-binary-tree
- maximum-depth-of-n-ary-tree
- maximum-length-of-pair-chain
- maximum-length-of-repeated-subarray
- maximum-product-of-three-numbers
- maximum-product-subarray
- maximum-subarray
- maximum-sum-of-3-non-overlapping-subarrays
- maximum-swap
- merge-intervals
- merge-k-sorted-lists
- merge-sorted-array
- merge-two-sorted-lists
- min-cost-climbing-stairs
- min-stack
- mini-parser
- minimum-absolute-difference-in-bst
- minimum-ascii-delete-sum-for-two-strings
- minimum-depth-of-binary-tree
- minimum-distance-between-bst-nodes
- minimum-genetic-mutation
- minimum-height-trees
- minimum-index-sum-of-two-lists
- minimum-moves-to-equal-array-elements
- minimum-moves-to-equal-array-elements-ii
- minimum-number-of-arrows-to-burst-balloons
- minimum-path-sum
- minimum-size-subarray-sum
- minimum-window-substring
- missing-number
- monotone-increasing-digits
- most-frequent-subtree-sum
- move-zeroes
- multiply-strings
- my-calendar-i
- my-calendar-ii
- my-calendar-iii
- n-ary-tree-level-order-traversal
- n-ary-tree-postorder-traversal
- n-ary-tree-preorder-traversal
- n-queens
- n-queens-ii
- next-greater-element-i
- next-greater-element-ii
- next-greater-element-iii
- next-permutation
- nim-game
- non-negative-integers-without-consecutive-ones
- non-overlapping-intervals
- number-of-1-bits
- number-of-atoms
- number-of-boomerangs
- number-of-digit-one
- number-of-islands
- number-of-longest-increasing-subsequence
- number-of-matching-subsequences
- odd-even-linked-list
- ones-and-zeroes
- out-of-boundary-paths
- palindrome-linked-list
- palindrome-number
- palindrome-pairs
- palindrome-partitioning
- palindrome-partitioning-ii
- palindromic-substrings
- parse-lisp-expression
- partition-equal-subset-sum
- partition-labels
- partition-to-k-equal-sum-subsets
- pascals-triangle
- pascals-triangle-ii
- path-sum
- path-sum-ii
- path-sum-iii
- peak-index-in-a-mountain-array
- peeking-iterator
- perfect-number
- perfect-squares
- permutation-in-string
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
456 files changed
+887
-881
lines changed+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + |
Diff for: problems/2-keys-keyboard/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + |
Diff for: problems/3sum-closest/README.md
+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
| 22 | + | |
| 23 | + |
Diff for: problems/3sum/README.md
+4-4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + |
Diff for: problems/4sum-ii/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + |
Diff for: problems/4sum/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + |
Diff for: problems/accounts-merge/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
38 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
| 36 | + | |
| 37 | + |
Diff for: problems/add-binary/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 28 | + | |
| 29 | + | |
| 30 | + |
Diff for: problems/add-digits/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + |
Diff for: problems/add-strings/README.md
+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
| 22 | + | |
| 23 | + |
Diff for: problems/add-two-numbers-ii/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + |
Diff for: problems/add-two-numbers/README.md
+5-5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + |
Diff for: problems/additive-number/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + |
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + |
Diff for: problems/arithmetic-slices/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + |
Diff for: problems/array-nesting/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + |
Diff for: problems/asteroid-collision/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + |
+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
| 33 | + | |
| 34 | + |
Diff for: problems/balanced-binary-tree/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + |
Diff for: problems/basic-calculator-ii/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + |
Diff for: problems/basic-calculator-iv/README.md
+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
64 |
| - | |
| 63 | + | |
| 64 | + |
Diff for: problems/basic-calculator/README.md
+5-5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + |
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + |
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + |
+5-5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + |
+4-4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + |
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
| 28 | + | |
| 29 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + |
+5-5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + |
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + |
0 commit comments