-
Notifications
You must be signed in to change notification settings - Fork 5
/
go.work
200 lines (199 loc) · 15.2 KB
/
go.work
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
go 1.21.5
use (
./000-assignments/01-intermediate-dsa/004-introduction-to-problem-solving/count-factor
./000-assignments/01-intermediate-dsa/004-introduction-to-problem-solving/count-of-primes
./000-assignments/01-intermediate-dsa/004-introduction-to-problem-solving/find-perfect-numbers
./000-assignments/01-intermediate-dsa/004-introduction-to-problem-solving/is-prime
./000-assignments/01-intermediate-dsa/004-introduction-to-problem-solving/make-it
./000-assignments/01-intermediate-dsa/004-introduction-to-problem-solving/square-root-of-a-number
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/array-rotation
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/count-of-elements
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/good-pair
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/linear-search-multiple-occurences
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/max-min-of-an-array
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/reverse-in-a-range
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/reverse-the-array
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/second-largest
./000-assignments/01-intermediate-dsa/007-introduction-to-arrays/time-to-equality
./000-assignments/01-intermediate-dsa/008-prefix-sum/equilibrium-index-of-an-array
./000-assignments/01-intermediate-dsa/008-prefix-sum/even-numbers-in-a-range
./000-assignments/01-intermediate-dsa/008-prefix-sum/in-place-prefix-sum
./000-assignments/01-intermediate-dsa/008-prefix-sum/product-array-puzzle
./000-assignments/01-intermediate-dsa/008-prefix-sum/range-sum-query
./000-assignments/01-intermediate-dsa/009-carry-forward/amazing-subarrays
./000-assignments/01-intermediate-dsa/009-carry-forward/best-time-to-buy-and-sell-stocks-i
./000-assignments/01-intermediate-dsa/009-carry-forward/bulbs
./000-assignments/01-intermediate-dsa/009-carry-forward/closest-min-max
./000-assignments/01-intermediate-dsa/009-carry-forward/even-subarrays
./000-assignments/01-intermediate-dsa/009-carry-forward/leaders-in-an-array
./000-assignments/01-intermediate-dsa/009-carry-forward/pick-from-both-sides
./000-assignments/01-intermediate-dsa/009-carry-forward/special-subsequences-ag-2
./000-assignments/01-intermediate-dsa/010-subarrays/counting-subarrays
./000-assignments/01-intermediate-dsa/010-subarrays/generate-all-subarrays
./000-assignments/01-intermediate-dsa/010-subarrays/good-subarrays
./000-assignments/01-intermediate-dsa/010-subarrays/maximum-subarray
./000-assignments/01-intermediate-dsa/010-subarrays/subarray-in-given-range
./000-assignments/01-intermediate-dsa/010-subarrays/sum-of-all-subarrays
./000-assignments/01-intermediate-dsa/011-2d-matrices/add-the-matrices
./000-assignments/01-intermediate-dsa/011-2d-matrices/anti-diagonals
./000-assignments/01-intermediate-dsa/011-2d-matrices/are-matrices-same
./000-assignments/01-intermediate-dsa/011-2d-matrices/column-sum
./000-assignments/01-intermediate-dsa/011-2d-matrices/main-diagonal-sum
./000-assignments/01-intermediate-dsa/011-2d-matrices/matrix-scalar-product
./000-assignments/01-intermediate-dsa/011-2d-matrices/matrix-subtraction
./000-assignments/01-intermediate-dsa/011-2d-matrices/minor-diagonal-sum
./000-assignments/01-intermediate-dsa/011-2d-matrices/rotate-matrix
./000-assignments/01-intermediate-dsa/011-2d-matrices/row-sum
./000-assignments/01-intermediate-dsa/011-2d-matrices/row-to-column-zero
./000-assignments/01-intermediate-dsa/011-2d-matrices/transpose-matrix
./000-assignments/01-intermediate-dsa/012-sliding-window/minimum-swaps
./000-assignments/01-intermediate-dsa/012-sliding-window/spiral-order-matrix-ii
./000-assignments/01-intermediate-dsa/012-sliding-window/subarray-with-given-sum-and-length
./000-assignments/01-intermediate-dsa/012-sliding-window/subarray-with-least-average
./000-assignments/01-intermediate-dsa/013-interview-problems-on-arrays/majority-element
./000-assignments/01-intermediate-dsa/013-interview-problems-on-arrays/n-by-3-repeat-number
./000-assignments/01-intermediate-dsa/013-interview-problems-on-arrays/special-index
./000-assignments/01-intermediate-dsa/013-interview-problems-on-arrays/sum-of-even-indices
./000-assignments/01-intermediate-dsa/013-interview-problems-on-arrays/sum-of-odd-indices
./000-assignments/01-intermediate-dsa/016-bit-manipulation-1/any-base-to-decimal
./000-assignments/01-intermediate-dsa/016-bit-manipulation-1/decimal-to-any-base
./000-assignments/01-intermediate-dsa/016-bit-manipulation-1/interesting-array
./000-assignments/01-intermediate-dsa/016-bit-manipulation-1/single-number
./000-assignments/01-intermediate-dsa/016-bit-manipulation-1/subarrays-with-bitwise-or-1
./000-assignments/01-intermediate-dsa/016-bit-manipulation-1/xor-sum
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/check-bit
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/find-nth-magic-number
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/finding-good-days
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/help-from-sam
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/number-of-1-bits
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/reverse-bits
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/set-bit
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/toggle-ith-bit
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/unset-ith-bit
./000-assignments/01-intermediate-dsa/017-bit-manipulation-2/unset-x-bits-from-right
./000-assignments/01-intermediate-dsa/018-modular-arithmetic/concatenate-three-numbers
./000-assignments/01-intermediate-dsa/018-modular-arithmetic/divisibility-by-3
./000-assignments/01-intermediate-dsa/018-modular-arithmetic/divisibility-by-8
./000-assignments/01-intermediate-dsa/018-modular-arithmetic/leap-year-III
./000-assignments/01-intermediate-dsa/018-modular-arithmetic/mod-array
./000-assignments/01-intermediate-dsa/018-modular-arithmetic/power-with-modules
./000-assignments/01-intermediate-dsa/019-sorting/arithmetic-progression
./000-assignments/01-intermediate-dsa/019-sorting/elements-removal
./000-assignments/01-intermediate-dsa/019-sorting/factors-sort
./000-assignments/01-intermediate-dsa/019-sorting/largest-number
./000-assignments/01-intermediate-dsa/019-sorting/noble-integer
./000-assignments/01-intermediate-dsa/019-sorting/sort-by-color
./000-assignments/01-intermediate-dsa/019-sorting/ten-digit-sorting
./000-assignments/01-intermediate-dsa/020-string/add-binary-strings
./000-assignments/01-intermediate-dsa/020-string/check-anagrams
./000-assignments/01-intermediate-dsa/020-string/count-occurences
./000-assignments/01-intermediate-dsa/020-string/count-sort
./000-assignments/01-intermediate-dsa/020-string/is-alpha-num
./000-assignments/01-intermediate-dsa/020-string/longest-common-prefix
./000-assignments/01-intermediate-dsa/020-string/longest-palindromic-substring
./000-assignments/01-intermediate-dsa/020-string/reverse-the-string
./000-assignments/01-intermediate-dsa/020-string/simple-reverse
./000-assignments/01-intermediate-dsa/020-string/string-operations
./000-assignments/01-intermediate-dsa/020-string/to-lower
./000-assignments/01-intermediate-dsa/020-string/to-upper
./000-assignments/01-intermediate-dsa/020-string/toggle-case
./000-assignments/01-intermediate-dsa/021-interview-problems/count-increasing-triplets
./000-assignments/01-intermediate-dsa/021-interview-problems/josephus-problem-2
./000-assignments/01-intermediate-dsa/021-interview-problems/length-of-longest-consecutive-ones
./000-assignments/01-intermediate-dsa/021-interview-problems/multiple-left-rotations-of-the-array
./000-assignments/01-intermediate-dsa/026-hashing-1/common-elements
./000-assignments/01-intermediate-dsa/026-hashing-1/count-distinct-elements
./000-assignments/01-intermediate-dsa/026-hashing-1/count-subarray-zero-sum
./000-assignments/01-intermediate-dsa/026-hashing-1/first-repeating-element
./000-assignments/01-intermediate-dsa/026-hashing-1/frequency-of-element-query
./000-assignments/01-intermediate-dsa/026-hashing-1/sub-array-with-0-sum
./000-assignments/01-intermediate-dsa/027-hasing-2/distinct-numbers-in-window
./000-assignments/01-intermediate-dsa/027-hasing-2/pair-with-given-difference
./000-assignments/01-intermediate-dsa/027-hasing-2/subarray-sum-equals-k
./000-assignments/01-intermediate-dsa/028-recursion-1/check-palindrome
./000-assignments/01-intermediate-dsa/028-recursion-1/find-factorial-ii
./000-assignments/01-intermediate-dsa/028-recursion-1/find-fibonacci-ii
./000-assignments/01-intermediate-dsa/028-recursion-1/print-1-to-a-function
./000-assignments/01-intermediate-dsa/028-recursion-1/print-a-to-1-function
./000-assignments/01-intermediate-dsa/028-recursion-1/print-reverse-string
./000-assignments/01-intermediate-dsa/028-recursion-1/sum-of-digits
./000-assignments/01-intermediate-dsa/029-recursion-2/implement-power-function
./000-assignments/01-intermediate-dsa/029-recursion-2/is-magic
./000-assignments/01-intermediate-dsa/029-recursion-2/kth-symbol
./000-assignments/01-intermediate-dsa/029-recursion-2/kth-symbol-hard
./000-assignments/01-intermediate-dsa/030-linked-list-basics/compare-linked-list
./000-assignments/01-intermediate-dsa/030-linked-list-basics/insert-in-linked-list
./000-assignments/01-intermediate-dsa/030-linked-list-basics/k-th-element-in-linked-list
./000-assignments/01-intermediate-dsa/030-linked-list-basics/linked-list
./000-assignments/01-intermediate-dsa/030-linked-list-basics/print-linked-list
./000-assignments/01-intermediate-dsa/030-linked-list-basics/search-in-linked-list
./000-assignments/02-advanced-dsa/038-arrays-one-dimensional/add-one-to-number
./000-assignments/02-advanced-dsa/038-arrays-one-dimensional/max-sum-contguous-subarray
./000-assignments/02-advanced-dsa/039-arrays-two-dimensional/maximum-submatrix-sum
./000-assignments/02-advanced-dsa/039-arrays-two-dimensional/search-in-a-row-wise-and-column-wise-sorted-matrix
./000-assignments/02-advanced-dsa/039-arrays-two-dimensional/sub-matrix-sum-queries
./000-assignments/02-advanced-dsa/039-arrays-two-dimensional/sum-of-all-submatrices
./000-assignments/02-advanced-dsa/041-bit-manipulation/single-number-advanced
./000-assignments/02-advanced-dsa/041-bit-manipulation/single-number-advanced-ii
./000-assignments/02-advanced-dsa/041-bit-manipulation/single-number-advanced-iii
./000-assignments/02-advanced-dsa/042-maths1-modular-arithmetic/pair-sum-divisible-by-m
./000-assignments/02-advanced-dsa/042-maths1-modular-arithmetic/prime-modulo-inverse
./000-assignments/02-advanced-dsa/042-maths1-modular-arithmetic/very-large-power
./000-assignments/02-advanced-dsa/046-maths2-gcd/pubg
./000-assignments/02-advanced-dsa/048-maths4-combinators/compute-ncr-mod-m
./000-assignments/02-advanced-dsa/048-maths4-combinators/compute-ncr-mod-p
./000-assignments/02-advanced-dsa/048-maths4-combinators/excel-column-title
./000-assignments/02-advanced-dsa/049-recursion/generate-all-paranthesis
./000-assignments/02-advanced-dsa/049-recursion/tower-of-hanoi
./000-assignments/02-advanced-dsa/050-sorting-1-selection-and-merge/inversion-count-in-an-array
./000-assignments/02-advanced-dsa/050-sorting-1-selection-and-merge/kth-smallest-element
./000-assignments/02-advanced-dsa/050-sorting-1-selection-and-merge/merge-two-sorted-arrays
./000-assignments/02-advanced-dsa/054-sorting-3-count-and-radix/b-closest-points-to-origin
./000-assignments/02-advanced-dsa/054-sorting-3-count-and-radix/count-sort2
./000-assignments/02-advanced-dsa/054-sorting-3-count-and-radix/sum-the-difference
./000-assignments/02-advanced-dsa/055-searching-1-binary/binary-search
./000-assignments/02-advanced-dsa/055-searching-1-binary/find-a-peak-element
./000-assignments/02-advanced-dsa/055-searching-1-binary/search-for-a-range
./000-assignments/02-advanced-dsa/055-searching-1-binary/single-element-in-sorted-array
./000-assignments/02-advanced-dsa/055-searching-1-binary/sorted-insert-position
./000-assignments/02-advanced-dsa/056-searching-2-binary/ath-magical-number
./000-assignments/02-advanced-dsa/056-searching-2-binary/median-of-array
./000-assignments/02-advanced-dsa/056-searching-2-binary/rotated-sorted-array-search
./000-assignments/02-advanced-dsa/056-searching-2-binary/square-root-of-integer
./000-assignments/02-advanced-dsa/057-searching-3-binary-search/aggressive-cows
./000-assignments/02-advanced-dsa/057-searching-3-binary-search/painters-partition-problem
./000-assignments/02-advanced-dsa/058-two-pointers/container-with-most-water
./000-assignments/02-advanced-dsa/058-two-pointers/pairs-with-given-difference
./000-assignments/02-advanced-dsa/058-two-pointers/pairs-with-given-sum-ii
./000-assignments/02-advanced-dsa/058-two-pointers/subarray-with-given-sum
./000-assignments/02-advanced-dsa/059-hashing-1/longest-consecutive-sequence
./000-assignments/02-advanced-dsa/059-hashing-1/shaggy-and-distances
./000-assignments/02-advanced-dsa/063-strings-pattern-matching/rabin-karp
./000-assignments/02-advanced-dsa/064-linked-list-1-introduction/palindrome-list
./000-assignments/02-advanced-dsa/064-linked-list-1-introduction/reverse-linked-list
./000-assignments/02-advanced-dsa/065-linked-list-2-sorting-and-detecting-loop/merge-two-sorted-lists
./000-assignments/02-advanced-dsa/065-linked-list-2-sorting-and-detecting-loop/middle-element-of-linked-list
./000-assignments/02-advanced-dsa/065-linked-list-2-sorting-and-detecting-loop/remove-loop-from-linked-list
./000-assignments/02-advanced-dsa/065-linked-list-2-sorting-and-detecting-loop/sort-linked-list
./000-assignments/02-advanced-dsa/066-linked-list-3-problems-and-doubly-linked-list/copy-list
./000-assignments/02-advanced-dsa/067-stacks-1-basic-problems/balanced-paranthesis
./000-assignments/02-advanced-dsa/067-stacks-1-basic-problems/double-character-trouble
./000-assignments/02-advanced-dsa/067-stacks-1-basic-problems/evaluate-expression
./000-assignments/02-advanced-dsa/070-stacks-2-nearest-element/max-and-min
./000-assignments/02-advanced-dsa/070-stacks-2-nearest-element/nearest-smaller-element
./000-assignments/02-advanced-dsa/071-queues/perfect-numbers
./000-assignments/02-advanced-dsa/072-trees-1-structure-and-traversal/binary-tree-from-inorder-and-postorder
./000-assignments/02-advanced-dsa/072-trees-1-structure-and-traversal/inorder-traversal
./000-assignments/02-advanced-dsa/072-trees-1-structure-and-traversal/preorder-traversal
./000-assignments/02-advanced-dsa/073-trees-2-views-and-types/balanced-binary-tree
./000-assignments/02-advanced-dsa/073-trees-2-views-and-types/level-order
./000-assignments/02-advanced-dsa/073-trees-2-views-and-types/right-view-of-binary-tree
./000-assignments/02-advanced-dsa/073-trees-2-views-and-types/vertical-order-traversal
./000-assignments/02-advanced-dsa/86-dynamic-programming-1/fibonacci-number
./000-assignments/02-advanced-dsa/86-dynamic-programming-1/max-sum-without-adjacent-elements
./000-assignments/02-advanced-dsa/86-dynamic-programming-1/min-num-of-squares
./000-assignments/02-advanced-dsa/86-dynamic-programming-1/stairs
./000-assignments/02-advanced-dsa/87-dynamic-programming-2/dungeon-princess
./000-assignments/02-advanced-dsa/87-dynamic-programming-2/n-digit-number
./000-assignments/02-advanced-dsa/87-dynamic-programming-2/unique-binary-search-trees-ii
)