File tree
1,345 files changed
+7701
-7698
lines changed- internal
- base
- leetcode
- open
- post
- readme
- tag
- problems
- 01-matrix
- 1-bit-and-2-bit-characters
- 132-pattern
- 2-keys-keyboard
- 24-game
- 3sum
- 3sum-closest
- 3sum-smaller
- 3sum-with-multiplicity
- 4-keys-keyboard
- 4sum
- 4sum-ii
- accounts-merge
- active-businesses
- actors-and-directors-who-cooperated-at-least-three-times
- add-and-search-word-data-structure-design
- add-binary
- add-bold-tag-in-string
- add-digits
- add-one-row-to-tree
- add-strings
- add-to-array-form-of-integer
- add-two-numbers
- add-two-numbers-ii
- adding-two-negabinary-numbers
- additive-number
- advantage-shuffle
- airplane-seat-assignment-probability
- alien-dictionary
- all-nodes-distance-k-in-binary-tree
- all-oone-data-structure
- all-paths-from-source-lead-to-destination
- all-paths-from-source-to-target
- all-people-report-to-the-given-manager
- all-possible-full-binary-trees
- alphabet-board-path
- ambiguous-coordinates
- analyze-user-website-visit-pattern
- android-unlock-patterns
- arithmetic-slices
- arithmetic-slices-ii-subsequence
- armstrong-number
- arranging-coins
- array-nesting
- array-of-doubled-pairs
- array-partition-i
- array-transformation
- article-views-i
- article-views-ii
- as-far-from-land-as-possible
- assign-cookies
- asteroid-collision
- available-captures-for-rook
- average-of-levels-in-binary-tree
- average-salary-departments-vs-company
- average-selling-price
- backspace-string-compare
- bag-of-tokens
- balanced-binary-tree
- base-7
- baseball-game
- basic-calculator
- basic-calculator-ii
- basic-calculator-iii
- basic-calculator-iv
- battleships-in-a-board
- beautiful-arrangement
- beautiful-arrangement-ii
- beautiful-array
- before-and-after-puzzle
- best-meeting-point
- best-sightseeing-pair
- 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
- big-countries
- biggest-single-number
- binary-gap
- binary-number-with-alternating-bits
- binary-prefix-divisible-by-5
- binary-search
- binary-search-tree-iterator
- binary-search-tree-to-greater-sum-tree
- binary-string-with-substrings-representing-1-to-n
- binary-subarrays-with-sum
- binary-tree-cameras
- binary-tree-coloring-game
- binary-tree-inorder-traversal
- binary-tree-level-order-traversal
- binary-tree-level-order-traversal-ii
- binary-tree-longest-consecutive-sequence
- binary-tree-longest-consecutive-sequence-ii
- binary-tree-maximum-path-sum
- binary-tree-paths
- binary-tree-postorder-traversal
- binary-tree-preorder-traversal
- binary-tree-pruning
- binary-tree-right-side-view
- binary-tree-tilt
- binary-tree-upside-down
- binary-tree-vertical-order-traversal
- binary-tree-zigzag-level-order-traversal
- binary-trees-with-factors
- binary-watch
- bitwise-and-of-numbers-range
- bitwise-ors-of-subarrays
- boats-to-save-people
- bold-words-in-string
- bomb-enemy
- boundary-of-binary-tree
- brace-expansion
- brace-expansion-ii
- brick-wall
- bricks-falling-when-hit
- broken-calculator
- buddy-strings
- building-h2o
- bulb-switcher
- bulb-switcher-ii
- bulls-and-cows
- burst-balloons
- bus-routes
- camelcase-matching
- campus-bikes
- campus-bikes-ii
- can-i-win
- can-make-palindrome-from-substring
- can-place-flowers
- candy
- candy-crush
- capacity-to-ship-packages-within-d-days
- car-fleet
- car-pooling
- card-flipping-game
- cat-and-mouse
- cells-with-odd-values-in-a-matrix
- chalkboard-xor-game
- champagne-tower
- cheapest-flights-within-k-stops
- check-completeness-of-a-binary-tree
- check-if-a-number-is-majority-element-in-a-sorted-array
- check-if-it-is-a-good-array
- check-if-it-is-a-straight-line
- check-if-word-is-valid-after-substitutions
- cherry-pickup
- circular-array-loop
- circular-permutation-in-binary-representation
- classes-more-than-5-students
- climbing-stairs
- clone-graph
- closest-binary-search-tree-value
- closest-binary-search-tree-value-ii
- closest-leaf-in-a-binary-tree
- clumsy-factorial
- coin-change
- coin-change-2
- coin-path
- coloring-a-border
- combination-sum
- combination-sum-ii
- combination-sum-iii
- combination-sum-iv
- combinations
- combine-two-tables
- compare-strings-by-frequency-of-the-smallest-character
- compare-version-numbers
- complement-of-base-10-integer
- complete-binary-tree-inserter
- complex-number-multiplication
- concatenated-words
- confusing-number
- confusing-number-ii
- connecting-cities-with-minimum-cost
- consecutive-available-seats
- consecutive-numbers
- consecutive-numbers-sum
- construct-binary-search-tree-from-preorder-traversal
- construct-binary-tree-from-inorder-and-postorder-traversal
- construct-binary-tree-from-preorder-and-inorder-traversal
- construct-binary-tree-from-preorder-and-postorder-traversal
- construct-binary-tree-from-string
- construct-quad-tree
- construct-string-from-binary-tree
- construct-the-rectangle
- contain-virus
- container-with-most-water
- contains-duplicate
- contains-duplicate-ii
- contains-duplicate-iii
- contiguous-array
- continuous-subarray-sum
- convert-a-number-to-hexadecimal
- convert-binary-number-in-a-linked-list-to-integer
- convert-binary-search-tree-to-sorted-doubly-linked-list
- convert-bst-to-greater-tree
- convert-sorted-array-to-binary-search-tree
- convert-sorted-list-to-binary-search-tree
- convert-to-base-2
- convex-polygon
- copy-list-with-random-pointer
- corporate-flight-bookings
- count-and-say
- count-binary-substrings
- count-complete-tree-nodes
- count-different-palindromic-subsequences
- count-number-of-nice-subarrays
- count-numbers-with-unique-digits
- count-of-range-sum
- count-of-smaller-numbers-after-self
- count-primes
- count-servers-that-communicate
- count-square-submatrices-with-all-ones
- count-student-number-in-departments
- count-substrings-with-only-one-distinct-letter
- count-the-repetitions
- count-univalue-subtrees
- count-vowels-permutation
- counting-bits
- couples-holding-hands
- course-schedule
- course-schedule-ii
- course-schedule-iii
- cousins-in-binary-tree
- cracking-the-safe
- create-maximum-number
- critical-connections-in-a-network
- custom-sort-string
- customer-placing-the-largest-number-of-orders
- customers-who-bought-all-products
- customers-who-never-order
- cut-off-trees-for-golf-event
- daily-temperatures
- data-stream-as-disjoint-intervals
- day-of-the-week
- day-of-the-year
- decode-string
- decode-ways
- decode-ways-ii
- decoded-string-at-index
- decrease-elements-to-make-array-zigzag
- defanging-an-ip-address
- degree-of-an-array
- delete-and-earn
- delete-columns-to-make-sorted
- delete-columns-to-make-sorted-ii
- delete-columns-to-make-sorted-iii
- delete-duplicate-emails
- delete-node-in-a-bst
- delete-node-in-a-linked-list
- delete-nodes-and-return-forest
- delete-operation-for-two-strings
- delete-tree-nodes
- department-highest-salary
- department-top-three-salaries
- design-a-leaderboard
- design-bounded-blocking-queue
- design-circular-deque
- design-circular-queue
- design-compressed-string-iterator
- design-excel-sum-formula
- design-file-system
- design-hashmap
- design-hashset
- design-hit-counter
- design-in-memory-file-system
- design-linked-list
- design-log-storage-system
- design-phone-directory
- design-search-autocomplete-system
- design-skiplist
- design-snake-game
- design-tic-tac-toe
- design-twitter
- detect-capital
- di-string-match
- diagonal-traverse
- diameter-of-binary-tree
- dice-roll-simulation
- diet-plan-performance
- different-ways-to-add-parentheses
- digit-count-in-range
- dinner-plate-stacks
- distance-between-bus-stops
- distant-barcodes
- distinct-subsequences
- distinct-subsequences-ii
- distribute-candies
- distribute-candies-to-people
- distribute-coins-in-binary-tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,345 files changed
+7701
-7698
lines changedDiff for: README.md
+30-30
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Diff for: internal/base/base.go
+4-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
|
Diff for: internal/leetcode/question_data.go
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
| 175 | + | |
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
|
Diff for: internal/leetcode/topic_tag.go
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 |
| - | |
| 88 | + | |
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
|
Diff for: internal/open/open.go
+2-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 |
| - | |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
|
Diff for: internal/post/post.go
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 |
| - | |
| 74 | + | |
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
|
Diff for: internal/readme/readme.go
+2-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
103 | 102 |
| |
104 |
| - | |
| 103 | + | |
105 | 104 |
| |
106 |
| - | |
| 105 | + | |
107 | 106 |
|
Diff for: internal/tag/tag.go
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
Diff for: problems/01-matrix/README.md
+4-4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
60 |
| - | |
| 59 | + | |
| 60 | + |
+4-4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
|
Diff for: problems/132-pattern/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + |
Diff for: problems/2-keys-keyboard/README.md
+5-5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + | |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
| 51 | + | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
|
Diff for: problems/24-game/README.md
+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + |
Diff for: problems/3sum-closest/README.md
+6-6
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
| 25 | + | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
| 29 | + | |
| 30 | + |
0 commit comments