I've been working on solving various challenges on LeetCode, and I'm pleased to share my solutions with you all.
- Language: JAVA
- LINK TO DETAILED EXPLANATION OF SOLUTION https://docs.google.com/document/d/1SBWpoKShcP1Ul7EQGTjuShcL21m6xr-_7pBsBvTYPUc/edit?usp=sharing
0039-combination-sum |
0040-combination-sum-ii |
0046-permutations |
0078-subsets |
0090-subsets-ii |
2696-the-number-of-beautiful-subsets |
0053-maximum-subarray |
0152-maximum-product-subarray |
1086-divisor-game |
1236-n-th-tribonacci-number |
2696-the-number-of-beautiful-subsets |
0078-subsets |
0090-subsets-ii |
0287-find-the-duplicate-number |
1037-minimum-number-of-k-consecutive-bit-flips |
1236-n-th-tribonacci-number |
0053-maximum-subarray |
1285-balance-a-binary-search-tree |
3373-maximum-prime-difference |
3361-latest-time-you-can-obtain-after-replacing-characters |
1666-make-the-string-great |
1505-create-target-array-in-the-given-order |
2048-build-array-from-permutation |
2058-concatenation-of-array |
2137-final-value-of-variable-after-performing-operations |
2324-find-triangular-sum-of-an-array |
2324-find-triangular-sum-of-an-array |
1037-minimum-number-of-k-consecutive-bit-flips |
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit |
2527-count-subarrays-with-fixed-bounds |
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit |
2527-count-subarrays-with-fixed-bounds |
1034-subarrays-with-k-different-integers |
1482-how-many-numbers-are-smaller-than-the-current-number |
1635-number-of-good-pairs |
3242-count-elements-with-maximum-frequency |
1086-divisor-game |
1086-divisor-game |
1791-richest-customer-wealth |
0648-replace-words |
0982-minimum-increment-to-make-array-unique |
1137-height-checker |
1217-relative-sort-array |
0502-ipo |
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit |
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit |
1114-binary-search-tree-to-greater-sum-tree |
1285-balance-a-binary-search-tree |
1114-binary-search-tree-to-greater-sum-tree |
1285-balance-a-binary-search-tree |
1114-binary-search-tree-to-greater-sum-tree |
1285-balance-a-binary-search-tree |
1114-binary-search-tree-to-greater-sum-tree |
1285-balance-a-binary-search-tree |
1916-find-center-of-star-graph |
0948-sort-an-array |
2054-the-number-of-the-smallest-unoccupied-chair |
2379-maximum-total-importance-of-roads |
0037-sudoku-solver |
0046-permutations |
0051-n-queens |
0131-palindrome-partitioning |
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph |
2217-step-by-step-directions-from-a-binary-tree-node-to-another |
0787-sliding-puzzle |
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph |
3517-shortest-distance-after-road-addition-queries-i |
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph |
2472-build-a-matrix-with-conditions |
1701-remove-max-number-of-edges-to-keep-graph-fully-traversable |
0002-add-two-numbers |
0060-permutation-sequence |
1642-water-bottles |
1951-find-the-winner-of-the-circular-game |
2645-pass-the-pillow |
2716-prime-subtraction-operation |
0131-palindrome-partitioning |
2554-minimum-total-distance-traveled |
2586-longest-square-streak-in-an-array |
2794-maximum-number-of-moves-in-a-grid |
1951-find-the-winner-of-the-circular-game |
2217-step-by-step-directions-from-a-binary-tree-node-to-another |
2217-step-by-step-directions-from-a-binary-tree-node-to-another |
0948-sort-an-array |
0948-sort-an-array |
0948-sort-an-array |
0948-sort-an-array |
0948-sort-an-array |
1786-count-the-number-of-consistent-strings |
2356-largest-combination-with-bitwise-and-greater-than-zero |
1940-maximum-xor-for-each-query |
2006-find-the-student-that-will-replace-the-chalk |
1786-count-the-number-of-consistent-strings |
1940-maximum-xor-for-each-query |
2356-largest-combination-with-bitwise-and-greater-than-zero |
3394-minimum-array-end |
0567-permutation-in-string |
3522-find-the-power-of-k-size-subarrays-i |
0812-rotate-string |
2716-prime-subtraction-operation |
1679-shortest-subarray-to-be-removed-to-make-array-sorted |