File tree
190 files changed
+3061
-1159
lines changed- problems
- 1-bit-and-2-bit-characters
- 132-pattern
- ad-free-sessions
- ambiguous-coordinates
- array-nesting
- asteroid-collision
- basic-calculator
- binary-prefix-divisible-by-5
- binary-search
- binary-string-with-substrings-representing-1-to-n
- binary-subarrays-with-sum
- binary-tree-cameras
- binary-tree-inorder-traversal
- binary-tree-longest-consecutive-sequence
- binary-tree-preorder-traversal
- binary-tree-pruning
- bold-words-in-string
- buddy-strings
- calculate-special-bonus
- can-place-flowers
- capacity-to-ship-packages-within-d-days
- check-if-word-equals-summation-of-two-words
- clumsy-factorial
- coin-change-2
- complement-of-base-10-integer
- contain-virus
- convert-to-base-2
- count-and-say
- count-different-palindromic-subsequences
- count-of-range-sum
- count-pairs-with-xor-in-a-range
- counting-bits
- daily-temperatures
- department-top-three-salaries
- design-hashmap
- design-hashset
- distribute-coins-in-binary-tree
- dota2-senate
- employee-importance
- encode-and-decode-strings
- faulty-sensor
- find-and-replace-in-string
- find-and-replace-pattern
- find-common-characters
- find-customers-with-positive-revenue-this-year
- find-k-th-smallest-pair-distance
- find-minimum-in-rotated-sorted-array-ii
- find-smallest-letter-greater-than-target
- find-the-duplicate-number
- find-the-subtasks-that-did-not-execute
- finding-pairs-with-a-certain-sum
- flatten-nested-list-iterator
- flood-fill
- get-biggest-three-rhombus-sums-in-a-grid
- gray-code
- grid-illumination
- group-employees-of-the-same-salary
- grumpy-bookstore-owner
- increasing-triplet-subsequence
- incremental-memory-leak
- insert-delete-getrandom-o1
- ip-to-cidr
- is-subsequence
- jump-game
- jump-game-ii
- jump-game-vii
- k-th-symbol-in-grammar
- largest-color-value-in-a-directed-graph
- length-of-longest-fibonacci-subsequence
- lexicographical-numbers
- longer-contiguous-segments-of-ones-than-zeros
- longest-arithmetic-subsequence
- longest-consecutive-sequence
- longest-increasing-subsequence
- longest-string-chain
- longest-word-with-all-prefixes
- matrix-cells-in-distance-order
- max-value-of-equation
- maximize-sum-of-array-after-k-negations
- maximum-depth-of-n-ary-tree
- maximum-gap
- maximum-number-of-non-overlapping-subarrays-with-sum-equals-target
- maximum-points-you-can-obtain-from-cards
- maximum-sum-circular-subarray
- maximum-sum-of-two-non-overlapping-subarrays
- maximum-value-after-insertion
- maximum-xor-of-two-numbers-in-an-array
- merge-intervals
- merge-sorted-array
- minimize-maximum-pair-sum-in-array
- minimize-product-sum-of-two-arrays
- minimum-ascii-delete-sum-for-two-strings
- minimum-cost-for-tickets
- minimum-cost-to-merge-stones
- minimum-domino-rotations-for-equal-row
- minimum-moves-to-equal-array-elements-ii
- minimum-number-of-swaps-to-make-the-binary-string-alternating
- minimum-skips-to-arrive-at-meeting-on-time
- minimum-speed-to-arrive-on-time
- minimum-window-substring
- minimum-xor-sum-of-two-arrays
- monotone-increasing-digits
- n-ary-tree-level-order-traversal
- n-ary-tree-preorder-traversal
- n-queens
- not-boring-movies
- number-of-1-bits
- number-of-ways-to-rearrange-sticks-with-k-sticks-visible
- number-of-ways-to-stay-in-the-same-place-after-some-steps
- numbers-with-repeated-digits
- occurrences-after-bigram
- orders-with-maximum-quantity-above-average
- pacific-atlantic-water-flow
- parallel-courses-ii
- partition-to-k-equal-sum-subsets
- power-of-two
- primary-department-for-each-employee
- print-binary-tree
- process-tasks-using-servers
- product-of-two-run-length-encoded-arrays
- rearrange-products-table
- recover-a-tree-from-preorder-traversal
- regions-cut-by-slashes
- remove-all-adjacent-duplicates-in-string
- remove-duplicates-from-sorted-array
- remove-outermost-parentheses
- reorder-routes-to-make-all-paths-lead-to-the-city-zero
- restore-ip-addresses
- reveal-cards-in-increasing-order
- rle-iterator
- rotate-function
- rotate-image
- rotating-the-box
- search-in-rotated-sorted-array-ii
- self-crossing
- self-dividing-numbers
- smallest-integer-divisible-by-k
- sorting-the-sentence
- split-array-into-consecutive-subsequences
- split-array-into-fibonacci-sequence
- sqrtx
- stone-game-viii
- string-compression
- subarray-product-less-than-k
- substrings-of-size-three-with-distinct-characters
- subtree-of-another-tree
- sum-of-all-subset-xor-totals
- sum-of-floored-pairs
- teemo-attacking
- to-lower-case
- two-sum
- two-sum-ii-input-array-is-sorted
- uncrossed-lines
- valid-number
- valid-tic-tac-toe-state
- validate-ip-address
- verify-preorder-sequence-in-binary-search-tree
- verify-preorder-serialization-of-a-binary-tree
- video-stitching
- readme
- tag
- array
- backtracking
- binary-search
- bit-manipulation
- breadth-first-search
- depth-first-search
- design
- dynamic-programming
- greedy
- hash-table
- heap
- line-sweep
- math
- ordered-map
- recursion
- sort
- stack
- string
- tree
- trie
- two-pointers
- union-find
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
190 files changed
+3061
-1159
lines changedDiff for: README.md
+33-7
Large diffs are not rendered by default.
+27-20
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 |
| - | |
19 | 26 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 |
| |
26 |
| - | |
27 | 32 |
| |
28 |
| - | |
| 33 | + | |
| 34 | + | |
29 | 35 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 |
| |
36 |
| - | |
37 | 41 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 |
| |
43 | 50 |
| |
44 | 51 |
| |
|
Diff for: problems/132-pattern/README.md
+1-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 | 18 |
| |
21 | 19 |
| |
22 | 20 |
| |
| |||
47 | 45 |
| |
48 | 46 |
| |
49 | 47 |
| |
50 |
| - | |
| 48 | + | |
51 | 49 |
| |
52 | 50 |
| |
53 | 51 |
| |
|
Diff for: problems/ad-free-sessions/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
|
+30-23
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 | + | |
17 | 23 |
| |
18 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
19 | 28 |
| |
20 | 29 |
| |
21 |
| - | |
22 | 30 |
| |
23 |
| - | |
| 31 | + | |
24 | 32 |
| |
25 | 33 |
| |
| 34 | + | |
| 35 | + | |
26 | 36 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 |
| |
33 | 41 |
| |
| 42 | + | |
| 43 | + | |
34 | 44 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 45 | + | |
| 46 | + | |
38 | 47 |
| |
39 | 48 |
| |
| 49 | + | |
| 50 | + | |
40 | 51 |
| |
41 |
| - | |
42 | 52 |
| |
43 |
| - | |
44 |
| - | |
45 |
| - | |
| 53 | + | |
| 54 | + | |
46 | 55 |
| |
47 | 56 |
| |
48 | 57 |
| |
49 |
| - | |
50 |
| - | |
| 58 | + | |
51 | 59 |
| |
52 | 60 |
| |
53 |
| - | |
54 |
| - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
55 | 64 |
| |
56 | 65 |
| |
57 |
| - | |
58 |
| - | |
59 | 66 |
| |
60 | 67 |
|
Diff for: problems/array-nesting/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
Diff for: problems/asteroid-collision/README.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
Diff for: problems/basic-calculator/README.md
+11-2
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 |
| |
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 |
| |
41 | 49 |
| |
42 | 50 |
| |
43 | 51 |
| |
44 | 52 |
| |
45 | 53 |
| |
46 | 54 |
| |
| 55 | + | |
47 | 56 |
| |
48 | 57 |
| |
49 | 58 |
| |
|
+8-8
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 |
| |
| |||
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 |
| |
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
54 |
| - | |
| 53 | + | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
Diff for: problems/binary-search/README.md
+2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
|
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 |
| |
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
| 37 | + | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
+22-16
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 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 |
| |
35 |
| - | |
36 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 |
| |
38 |
| - | |
39 |
| - | |
| 45 | + | |
40 | 46 |
| |
41 | 47 |
| |
42 | 48 |
| |
|
0 commit comments