File tree
113 files changed
+3667
-633
lines changed- problems
- average-of-levels-in-binary-tree
- base-7
- best-sightseeing-pair
- best-time-to-buy-and-sell-stock-ii
- binary-tree-level-order-traversal
- binary-tree-level-order-traversal-ii
- binary-tree-right-side-view
- binary-tree-zigzag-level-order-traversal
- break-a-palindrome
- buildings-with-an-ocean-view
- candy
- check-if-array-is-sorted-and-rotated
- closest-subsequence-sum
- construct-binary-tree-from-inorder-and-postorder-traversal
- construct-binary-tree-from-preorder-and-inorder-traversal
- convert-sorted-array-to-binary-search-tree
- count-number-of-homogenous-substrings
- customer-placing-the-largest-number-of-orders
- decode-ways-ii
- design-an-ordered-stream
- design-most-recently-used-queue
- design-tic-tac-toe
- distinct-subsequences
- equal-rational-numbers
- excel-sheet-column-title
- find-common-characters
- find-n-unique-integers-sum-up-to-zero
- find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
- find-the-subtasks-that-did-not-execute
- flip-binary-tree-to-match-preorder-traversal
- form-array-by-concatenating-subarrays-of-another-array
- is-graph-bipartite
- kth-smallest-element-in-a-sorted-matrix
- largest-merge-of-two-strings
- leetflex-banned-accounts
- longest-nice-substring
- longest-word-in-dictionary-through-deleting
- map-of-highest-peak
- max-consecutive-ones
- maximize-palindrome-length-from-subsequences
- maximum-absolute-sum-of-any-subarray
- maximum-number-of-events-that-can-be-attended-ii
- maximum-score-from-performing-multiplication-operations
- maximum-score-from-removing-stones
- merge-strings-alternately
- minimum-changes-to-make-alternating-binary-string
- minimum-degree-of-a-connected-trio-in-a-graph
- minimum-length-of-string-after-deleting-similar-ends
- minimum-limit-of-balls-in-a-bag
- minimum-number-of-operations-to-move-all-balls-to-each-box
- minimum-unique-word-abbreviation
- number-of-1-bits
- number-of-enclaves
- pascals-triangle
- pascals-triangle-ii
- path-sum-iv
- peeking-iterator
- preimage-size-of-factorial-zeroes-function
- recyclable-and-low-fat-products
- relative-ranks
- repeated-substring-pattern
- restore-ip-addresses
- reverse-linked-list
- reverse-linked-list-ii
- roman-to-integer
- search-in-rotated-sorted-array
- search-in-rotated-sorted-array-ii
- shortest-distance-to-a-character
- shortest-path-in-binary-matrix
- split-array-into-consecutive-subsequences
- sum-of-unique-elements
- sum-root-to-leaf-numbers
- surrounded-regions
- swap-salary
- symmetric-tree
- the-k-weakest-rows-in-a-matrix
- transpose-matrix
- tree-of-coprimes
- valid-palindrome
- valid-parenthesis-string
- validate-binary-tree-nodes
- word-ladder-ii
- readme
- tag
- array
- backtracking
- binary-search
- bit-manipulation
- breadth-first-search
- depth-first-search
- dequeue
- design
- divide-and-conquer
- dynamic-programming
- graph
- greedy
- hash-table
- heap
- math
- meet-in-the-middle
- oop
- queue
- recursion
- segment-tree
- string
- tree
- two-pointers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
113 files changed
+3667
-633
lines changedDiff for: README.md
+24
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
73 | 97 |
| |
74 | 98 |
| |
75 | 99 |
| |
|
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + |
Diff for: problems/base-7/base_7.go
+3-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
| |||
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 |
| - | |
| 13 | + | |
12 | 14 |
|
+18-13
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 | 21 |
| |
23 | 22 |
| |
24 | 23 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
28 | 27 |
| |
29 | 28 |
| |
30 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 |
| |
32 |
| - | |
| 36 | + | |
| 37 | + | |
33 | 38 |
| |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 |
| |
39 | 44 |
| |
40 | 45 |
| |
|
+13-12
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 |
| - | |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 |
| - | |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 |
| - | |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 |
| - | |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
50 |
| - | |
51 |
| - | |
| 51 | + | |
| 52 | + | |
52 | 53 |
| |
53 | 54 |
| |
54 | 55 |
| |
|
+27-19
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 20 | + | |
| 21 | + | |
25 | 22 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 34 | + | |
| 35 | + | |
35 | 36 |
| |
36 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 |
| |
38 | 46 |
| |
39 | 47 |
| |
|
+27-19
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 20 | + | |
| 21 | + | |
25 | 22 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 34 | + | |
| 35 | + | |
35 | 36 |
| |
36 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 |
| |
38 | 46 |
| |
39 | 47 |
| |
40 | 48 |
| |
41 | 49 |
| |
42 | 50 |
| |
43 | 51 |
| |
44 |
| - | |
| 52 | + | |
45 | 53 |
| |
46 | 54 |
| |
47 | 55 |
| |
|
+29-11
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 |
| |
18 | 26 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 27 | + | |
| 28 | + | |
28 | 29 |
| |
29 | 30 |
| |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
30 | 46 |
| |
31 | 47 |
| |
32 | 48 |
| |
33 | 49 |
| |
| 50 | + | |
| 51 | + | |
34 | 52 |
| |
35 | 53 |
| |
36 | 54 |
| |
|
+26-18
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 20 | + | |
| 21 | + | |
25 | 22 |
| |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 34 | + | |
| 35 | + | |
35 | 36 |
| |
36 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 |
| |
38 | 46 |
| |
39 | 47 |
| |
|
0 commit comments