File tree
160 files changed
+2232
-1077
lines changed- problems
- array-of-doubled-pairs
- asteroid-collision
- average-time-of-process-per-machine
- best-time-to-buy-and-sell-stock
- binary-tree-maximum-path-sum
- binary-tree-preorder-traversal
- boats-to-save-people
- building-boxes
- burst-balloons
- capacity-to-ship-packages-within-d-days
- cat-and-mouse-ii
- change-minimum-characters-to-satisfy-one-of-three-conditions
- check-if-all-1s-are-at-least-length-k-places-away
- checking-existence-of-edge-length-limited-paths-ii
- coin-path
- compare-strings-by-frequency-of-the-smallest-character
- count-complete-tree-nodes
- count-number-of-teams
- count-of-smaller-numbers-after-self
- count-ways-to-make-array-with-product
- decode-ways
- decode-xored-permutation
- delete-and-earn
- design-add-and-search-words-data-structure
- design-hashset
- divide-array-in-sets-of-k-consecutive-numbers
- find-a-value-of-a-mysterious-function-closest-to-target
- find-distance-in-a-binary-tree
- find-followers-count
- find-k-closest-elements
- find-kth-largest-xor-coordinate-value
- find-minimum-time-to-finish-all-jobs
- find-positive-integer-solution-for-a-given-equation
- find-the-highest-altitude
- find-the-most-competitive-subsequence
- first-missing-positive
- flatten-binary-tree-to-linked-list
- gray-code
- house-robber-iii
- house-robber-ii
- house-robber
- insert-interval
- interval-list-intersections
- invalid-transactions
- invalid-tweets
- k-concatenation-maximum-sum
- k-th-smallest-prime-fraction
- keyboard-row
- kth-smallest-element-in-a-bst
- largest-subarray-length-k
- largest-submatrix-with-rearrangements
- lfu-cache
- longest-arithmetic-subsequence-of-given-difference
- longest-consecutive-sequence
- longest-increasing-path-in-a-matrix
- maximum-level-sum-of-a-binary-tree
- maximum-number-of-visible-points
- maximum-product-subarray
- meeting-scheduler
- merge-intervals
- merge-sorted-array
- minimize-malware-spread-ii
- minimize-malware-spread
- minimum-number-of-people-to-teach
- minimum-operations-to-reduce-x-to-zero
- missing-ranges
- nested-list-weight-sum
- network-delay-time
- next-greater-element-i
- non-decreasing-array
- non-negative-integers-without-consecutive-ones
- number-of-rectangles-that-can-form-the-largest-square
- paint-fence
- paint-house
- palindrome-number
- pancake-sorting
- path-sum-ii
- path-sum
- peak-index-in-a-mountain-array
- perfect-squares
- products-worth-over-invoices
- projection-area-of-3d-shapes
- range-module
- range-sum-query-mutable
- reachable-nodes-in-subdivided-graph
- remove-nth-node-from-end-of-list
- reorder-data-in-log-files
- reverse-integer
- robot-bounded-in-circle
- search-in-a-binary-search-tree
- set-mismatch
- shortest-path-to-get-food
- shortest-unsorted-continuous-subarray
- sort-colors
- sort-the-matrix-diagonally
- string-to-integer-atoi
- subsets-ii
- subsets
- sum-of-subarray-minimums
- summary-ranges
- surface-area-of-3d-shapes
- the-number-of-employees-which-report-to-each-employee
- third-maximum-number
- three-equal-parts
- trapping-rain-water
- trim-a-binary-search-tree
- trips-and-users
- tuple-with-same-product
- two-sum-ii-input-array-is-sorted
- ugly-number-iii
- unique-binary-search-trees-ii
- unique-binary-search-trees
- valid-number
- vertical-order-traversal-of-a-binary-tree
- walking-robot-simulation
- word-ladder
- word-pattern-ii
- word-pattern
- readme
- tag
- array
- backtracking
- binary-indexed-tree
- binary-search-tree
- binary-search
- bit-manipulation
- breadth-first-search
- depth-first-search
- design
- dynamic-programming
- graph
- greedy
- hash-table
- heap
- line-sweep
- linked-list
- math
- memoization
- ordered-map
- queue
- recursion
- rejection-sampling
- reservoir-sampling
- segment-tree
- sliding-window
- 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.
160 files changed
+2232
-1077
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 14 | + | |
24 | 15 | | |
25 | 16 | | |
26 | 17 | | |
27 | 18 | | |
28 | 19 | | |
29 | | - | |
| 20 | + | |
30 | 21 | | |
31 | 22 | | |
32 | 23 | | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
36 | | - | |
| 27 | + | |
37 | 28 | | |
38 | 29 | | |
39 | 30 | | |
40 | 31 | | |
41 | 32 | | |
42 | 33 | | |
43 | | - | |
| 34 | + | |
44 | 35 | | |
45 | 36 | | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
50 | 41 | | |
51 | | - | |
| 42 | + | |
52 | 43 | | |
53 | 44 | | |
54 | 45 | | |
55 | 46 | | |
56 | 47 | | |
57 | 48 | | |
58 | 49 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
62 | 53 | | |
63 | 54 | | |
64 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
| 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 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 61 | + | |
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | | - | |
22 | | - | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
29 | 25 | | |
30 | 26 | | |
31 | | - | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
38 | 33 | | |
39 | 34 | | |
40 | | - | |
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
47 | 42 | | |
48 | | - | |
| 43 | + | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | | - | |
52 | | - | |
| 47 | + | |
| 48 | + | |
53 | 49 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 50 | | |
58 | 51 | | |
59 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments