https://github.com/bmukesh23/dsa
DSA Practice
https://github.com/bmukesh23/dsa
java sql
Last synced: about 21 hours ago
JSON representation
DSA Practice
- Host: GitHub
- URL: https://github.com/bmukesh23/dsa
- Owner: bmukesh23
- Created: 2024-07-06T08:13:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-15T17:16:23.000Z (5 months ago)
- Last Synced: 2026-01-15T20:08:18.626Z (5 months ago)
- Topics: java, sql
- Language: Java
- Homepage:
- Size: 746 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)
# LeetCode Topics
## Math
| |
| ------- |
| [0002-add-two-numbers](https://github.com/bmukesh23/DSA/tree/master/0002-add-two-numbers) |
| [0007-reverse-integer](https://github.com/bmukesh23/DSA/tree/master/0007-reverse-integer) |
| [0009-palindrome-number](https://github.com/bmukesh23/DSA/tree/master/0009-palindrome-number) |
| [0013-roman-to-integer](https://github.com/bmukesh23/DSA/tree/master/0013-roman-to-integer) |
| [0048-rotate-image](https://github.com/bmukesh23/DSA/tree/master/0048-rotate-image) |
| [0050-powx-n](https://github.com/bmukesh23/DSA/tree/master/0050-powx-n) |
| [0189-rotate-array](https://github.com/bmukesh23/DSA/tree/master/0189-rotate-array) |
| [0268-missing-number](https://github.com/bmukesh23/DSA/tree/master/0268-missing-number) |
| [1013-fibonacci-number](https://github.com/bmukesh23/DSA/tree/master/1013-fibonacci-number) |
| [1370-count-number-of-nice-subarrays](https://github.com/bmukesh23/DSA/tree/master/1370-count-number-of-nice-subarrays) |
| [1406-subtract-the-product-and-sum-of-digits-of-an-integer](https://github.com/bmukesh23/DSA/tree/master/1406-subtract-the-product-and-sum-of-digits-of-an-integer) |
| [2032-largest-odd-number-in-string](https://github.com/bmukesh23/DSA/tree/master/2032-largest-odd-number-in-string) |
| [2050-count-good-numbers](https://github.com/bmukesh23/DSA/tree/master/2050-count-good-numbers) |
| [2324-find-triangular-sum-of-an-array](https://github.com/bmukesh23/DSA/tree/master/2324-find-triangular-sum-of-an-array) |
## Array
| |
| ------- |
| [0001-two-sum](https://github.com/bmukesh23/DSA/tree/master/0001-two-sum) |
| [0004-median-of-two-sorted-arrays](https://github.com/bmukesh23/DSA/tree/master/0004-median-of-two-sorted-arrays) |
| [0015-3sum](https://github.com/bmukesh23/DSA/tree/master/0015-3sum) |
| [0018-4sum](https://github.com/bmukesh23/DSA/tree/master/0018-4sum) |
| [0026-remove-duplicates-from-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0026-remove-duplicates-from-sorted-array) |
| [0031-next-permutation](https://github.com/bmukesh23/DSA/tree/master/0031-next-permutation) |
| [0033-search-in-rotated-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0033-search-in-rotated-sorted-array) |
| [0034-find-first-and-last-position-of-element-in-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0034-find-first-and-last-position-of-element-in-sorted-array) |
| [0035-search-insert-position](https://github.com/bmukesh23/DSA/tree/master/0035-search-insert-position) |
| [0039-combination-sum](https://github.com/bmukesh23/DSA/tree/master/0039-combination-sum) |
| [0040-combination-sum-ii](https://github.com/bmukesh23/DSA/tree/master/0040-combination-sum-ii) |
| [0042-trapping-rain-water](https://github.com/bmukesh23/DSA/tree/master/0042-trapping-rain-water) |
| [0045-jump-game-ii](https://github.com/bmukesh23/DSA/tree/master/0045-jump-game-ii) |
| [0048-rotate-image](https://github.com/bmukesh23/DSA/tree/master/0048-rotate-image) |
| [0053-maximum-subarray](https://github.com/bmukesh23/DSA/tree/master/0053-maximum-subarray) |
| [0055-jump-game](https://github.com/bmukesh23/DSA/tree/master/0055-jump-game) |
| [0056-merge-intervals](https://github.com/bmukesh23/DSA/tree/master/0056-merge-intervals) |
| [0057-insert-interval](https://github.com/bmukesh23/DSA/tree/master/0057-insert-interval) |
| [0073-set-matrix-zeroes](https://github.com/bmukesh23/DSA/tree/master/0073-set-matrix-zeroes) |
| [0074-search-a-2d-matrix](https://github.com/bmukesh23/DSA/tree/master/0074-search-a-2d-matrix) |
| [0075-sort-colors](https://github.com/bmukesh23/DSA/tree/master/0075-sort-colors) |
| [0078-subsets](https://github.com/bmukesh23/DSA/tree/master/0078-subsets) |
| [0079-word-search](https://github.com/bmukesh23/DSA/tree/master/0079-word-search) |
| [0081-search-in-rotated-sorted-array-ii](https://github.com/bmukesh23/DSA/tree/master/0081-search-in-rotated-sorted-array-ii) |
| [0088-merge-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0088-merge-sorted-array) |
| [0090-subsets-ii](https://github.com/bmukesh23/DSA/tree/master/0090-subsets-ii) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0118-pascals-triangle](https://github.com/bmukesh23/DSA/tree/master/0118-pascals-triangle) |
| [0119-pascals-triangle-ii](https://github.com/bmukesh23/DSA/tree/master/0119-pascals-triangle-ii) |
| [0121-best-time-to-buy-and-sell-stock](https://github.com/bmukesh23/DSA/tree/master/0121-best-time-to-buy-and-sell-stock) |
| [0128-longest-consecutive-sequence](https://github.com/bmukesh23/DSA/tree/master/0128-longest-consecutive-sequence) |
| [0136-single-number](https://github.com/bmukesh23/DSA/tree/master/0136-single-number) |
| [0153-find-minimum-in-rotated-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0153-find-minimum-in-rotated-sorted-array) |
| [0162-find-peak-element](https://github.com/bmukesh23/DSA/tree/master/0162-find-peak-element) |
| [0169-majority-element](https://github.com/bmukesh23/DSA/tree/master/0169-majority-element) |
| [0189-rotate-array](https://github.com/bmukesh23/DSA/tree/master/0189-rotate-array) |
| [0216-combination-sum-iii](https://github.com/bmukesh23/DSA/tree/master/0216-combination-sum-iii) |
| [0217-contains-duplicate](https://github.com/bmukesh23/DSA/tree/master/0217-contains-duplicate) |
| [0229-majority-element-ii](https://github.com/bmukesh23/DSA/tree/master/0229-majority-element-ii) |
| [0240-search-a-2d-matrix-ii](https://github.com/bmukesh23/DSA/tree/master/0240-search-a-2d-matrix-ii) |
| [0268-missing-number](https://github.com/bmukesh23/DSA/tree/master/0268-missing-number) |
| [0283-move-zeroes](https://github.com/bmukesh23/DSA/tree/master/0283-move-zeroes) |
| [0287-find-the-duplicate-number](https://github.com/bmukesh23/DSA/tree/master/0287-find-the-duplicate-number) |
| [0435-non-overlapping-intervals](https://github.com/bmukesh23/DSA/tree/master/0435-non-overlapping-intervals) |
| [0455-assign-cookies](https://github.com/bmukesh23/DSA/tree/master/0455-assign-cookies) |
| [0485-max-consecutive-ones](https://github.com/bmukesh23/DSA/tree/master/0485-max-consecutive-ones) |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
| [0496-next-greater-element-i](https://github.com/bmukesh23/DSA/tree/master/0496-next-greater-element-i) |
| [0503-next-greater-element-ii](https://github.com/bmukesh23/DSA/tree/master/0503-next-greater-element-ii) |
| [0540-single-element-in-a-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0540-single-element-in-a-sorted-array) |
| [0735-asteroid-collision](https://github.com/bmukesh23/DSA/tree/master/0735-asteroid-collision) |
| [0792-binary-search](https://github.com/bmukesh23/DSA/tree/master/0792-binary-search) |
| [0890-lemonade-change](https://github.com/bmukesh23/DSA/tree/master/0890-lemonade-change) |
| [0943-sum-of-subarray-minimums](https://github.com/bmukesh23/DSA/tree/master/0943-sum-of-subarray-minimums) |
| [0966-binary-subarrays-with-sum](https://github.com/bmukesh23/DSA/tree/master/0966-binary-subarrays-with-sum) |
| [1046-max-consecutive-ones-iii](https://github.com/bmukesh23/DSA/tree/master/1046-max-consecutive-ones-iii) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [1364-tuple-with-same-product](https://github.com/bmukesh23/DSA/tree/master/1364-tuple-with-same-product) |
| [1370-count-number-of-nice-subarrays](https://github.com/bmukesh23/DSA/tree/master/1370-count-number-of-nice-subarrays) |
| [1408-find-the-smallest-divisor-given-a-threshold](https://github.com/bmukesh23/DSA/tree/master/1408-find-the-smallest-divisor-given-a-threshold) |
| [1538-maximum-points-you-can-obtain-from-cards](https://github.com/bmukesh23/DSA/tree/master/1538-maximum-points-you-can-obtain-from-cards) |
| [1646-kth-missing-positive-number](https://github.com/bmukesh23/DSA/tree/master/1646-kth-missing-positive-number) |
| [1755-defuse-the-bomb](https://github.com/bmukesh23/DSA/tree/master/1755-defuse-the-bomb) |
| [1878-check-if-array-is-sorted-and-rotated](https://github.com/bmukesh23/DSA/tree/master/1878-check-if-array-is-sorted-and-rotated) |
| [1927-maximum-ascending-subarray-sum](https://github.com/bmukesh23/DSA/tree/master/1927-maximum-ascending-subarray-sum) |
| [1966-frequency-of-the-most-frequent-element](https://github.com/bmukesh23/DSA/tree/master/1966-frequency-of-the-most-frequent-element) |
| [2227-sum-of-subarray-ranges](https://github.com/bmukesh23/DSA/tree/master/2227-sum-of-subarray-ranges) |
| [2271-rearrange-array-elements-by-sign](https://github.com/bmukesh23/DSA/tree/master/2271-rearrange-array-elements-by-sign) |
| [2324-find-triangular-sum-of-an-array](https://github.com/bmukesh23/DSA/tree/master/2324-find-triangular-sum-of-an-array) |
| [3372-longest-strictly-increasing-or-strictly-decreasing-subarray](https://github.com/bmukesh23/DSA/tree/master/3372-longest-strictly-increasing-or-strictly-decreasing-subarray) |
| [3429-special-array-i](https://github.com/bmukesh23/DSA/tree/master/3429-special-array-i) |
## Hash Table
| |
| ------- |
| [0001-two-sum](https://github.com/bmukesh23/DSA/tree/master/0001-two-sum) |
| [0003-longest-substring-without-repeating-characters](https://github.com/bmukesh23/DSA/tree/master/0003-longest-substring-without-repeating-characters) |
| [0013-roman-to-integer](https://github.com/bmukesh23/DSA/tree/master/0013-roman-to-integer) |
| [0017-letter-combinations-of-a-phone-number](https://github.com/bmukesh23/DSA/tree/master/0017-letter-combinations-of-a-phone-number) |
| [0073-set-matrix-zeroes](https://github.com/bmukesh23/DSA/tree/master/0073-set-matrix-zeroes) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0128-longest-consecutive-sequence](https://github.com/bmukesh23/DSA/tree/master/0128-longest-consecutive-sequence) |
| [0138-copy-list-with-random-pointer](https://github.com/bmukesh23/DSA/tree/master/0138-copy-list-with-random-pointer) |
| [0141-linked-list-cycle](https://github.com/bmukesh23/DSA/tree/master/0141-linked-list-cycle) |
| [0146-lru-cache](https://github.com/bmukesh23/DSA/tree/master/0146-lru-cache) |
| [0160-intersection-of-two-linked-lists](https://github.com/bmukesh23/DSA/tree/master/0160-intersection-of-two-linked-lists) |
| [0169-majority-element](https://github.com/bmukesh23/DSA/tree/master/0169-majority-element) |
| [0205-isomorphic-strings](https://github.com/bmukesh23/DSA/tree/master/0205-isomorphic-strings) |
| [0217-contains-duplicate](https://github.com/bmukesh23/DSA/tree/master/0217-contains-duplicate) |
| [0229-majority-element-ii](https://github.com/bmukesh23/DSA/tree/master/0229-majority-element-ii) |
| [0242-valid-anagram](https://github.com/bmukesh23/DSA/tree/master/0242-valid-anagram) |
| [0268-missing-number](https://github.com/bmukesh23/DSA/tree/master/0268-missing-number) |
| [0424-longest-repeating-character-replacement](https://github.com/bmukesh23/DSA/tree/master/0424-longest-repeating-character-replacement) |
| [0460-lfu-cache](https://github.com/bmukesh23/DSA/tree/master/0460-lfu-cache) |
| [0496-next-greater-element-i](https://github.com/bmukesh23/DSA/tree/master/0496-next-greater-element-i) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0966-binary-subarrays-with-sum](https://github.com/bmukesh23/DSA/tree/master/0966-binary-subarrays-with-sum) |
| [1364-tuple-with-same-product](https://github.com/bmukesh23/DSA/tree/master/1364-tuple-with-same-product) |
| [1370-count-number-of-nice-subarrays](https://github.com/bmukesh23/DSA/tree/master/1370-count-number-of-nice-subarrays) |
| [1460-number-of-substrings-containing-all-three-characters](https://github.com/bmukesh23/DSA/tree/master/1460-number-of-substrings-containing-all-three-characters) |
| [1890-sum-of-beauty-of-all-substrings](https://github.com/bmukesh23/DSA/tree/master/1890-sum-of-beauty-of-all-substrings) |
| [1915-check-if-one-string-swap-can-make-strings-equal](https://github.com/bmukesh23/DSA/tree/master/1915-check-if-one-string-swap-can-make-strings-equal) |
## Dynamic Programming
| |
| ------- |
| [0042-trapping-rain-water](https://github.com/bmukesh23/DSA/tree/master/0042-trapping-rain-water) |
| [0045-jump-game-ii](https://github.com/bmukesh23/DSA/tree/master/0045-jump-game-ii) |
| [0053-maximum-subarray](https://github.com/bmukesh23/DSA/tree/master/0053-maximum-subarray) |
| [0055-jump-game](https://github.com/bmukesh23/DSA/tree/master/0055-jump-game) |
| [0118-pascals-triangle](https://github.com/bmukesh23/DSA/tree/master/0118-pascals-triangle) |
| [0119-pascals-triangle-ii](https://github.com/bmukesh23/DSA/tree/master/0119-pascals-triangle-ii) |
| [0121-best-time-to-buy-and-sell-stock](https://github.com/bmukesh23/DSA/tree/master/0121-best-time-to-buy-and-sell-stock) |
| [0124-binary-tree-maximum-path-sum](https://github.com/bmukesh23/DSA/tree/master/0124-binary-tree-maximum-path-sum) |
| [0131-palindrome-partitioning](https://github.com/bmukesh23/DSA/tree/master/0131-palindrome-partitioning) |
| [0435-non-overlapping-intervals](https://github.com/bmukesh23/DSA/tree/master/0435-non-overlapping-intervals) |
| [0678-valid-parenthesis-string](https://github.com/bmukesh23/DSA/tree/master/0678-valid-parenthesis-string) |
| [0943-sum-of-subarray-minimums](https://github.com/bmukesh23/DSA/tree/master/0943-sum-of-subarray-minimums) |
| [1013-fibonacci-number](https://github.com/bmukesh23/DSA/tree/master/1013-fibonacci-number) |
## Recursion
| |
| ------- |
| [0002-add-two-numbers](https://github.com/bmukesh23/DSA/tree/master/0002-add-two-numbers) |
| [0021-merge-two-sorted-lists](https://github.com/bmukesh23/DSA/tree/master/0021-merge-two-sorted-lists) |
| [0025-reverse-nodes-in-k-group](https://github.com/bmukesh23/DSA/tree/master/0025-reverse-nodes-in-k-group) |
| [0050-powx-n](https://github.com/bmukesh23/DSA/tree/master/0050-powx-n) |
| [0206-reverse-linked-list](https://github.com/bmukesh23/DSA/tree/master/0206-reverse-linked-list) |
| [0234-palindrome-linked-list](https://github.com/bmukesh23/DSA/tree/master/0234-palindrome-linked-list) |
| [1013-fibonacci-number](https://github.com/bmukesh23/DSA/tree/master/1013-fibonacci-number) |
| [2050-count-good-numbers](https://github.com/bmukesh23/DSA/tree/master/2050-count-good-numbers) |
## Memoization
| |
| ------- |
| [1013-fibonacci-number](https://github.com/bmukesh23/DSA/tree/master/1013-fibonacci-number) |
## Two Pointers
| |
| ------- |
| [0015-3sum](https://github.com/bmukesh23/DSA/tree/master/0015-3sum) |
| [0018-4sum](https://github.com/bmukesh23/DSA/tree/master/0018-4sum) |
| [0019-remove-nth-node-from-end-of-list](https://github.com/bmukesh23/DSA/tree/master/0019-remove-nth-node-from-end-of-list) |
| [0026-remove-duplicates-from-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0026-remove-duplicates-from-sorted-array) |
| [0028-find-the-index-of-the-first-occurrence-in-a-string](https://github.com/bmukesh23/DSA/tree/master/0028-find-the-index-of-the-first-occurrence-in-a-string) |
| [0031-next-permutation](https://github.com/bmukesh23/DSA/tree/master/0031-next-permutation) |
| [0042-trapping-rain-water](https://github.com/bmukesh23/DSA/tree/master/0042-trapping-rain-water) |
| [0061-rotate-list](https://github.com/bmukesh23/DSA/tree/master/0061-rotate-list) |
| [0075-sort-colors](https://github.com/bmukesh23/DSA/tree/master/0075-sort-colors) |
| [0088-merge-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0088-merge-sorted-array) |
| [0125-valid-palindrome](https://github.com/bmukesh23/DSA/tree/master/0125-valid-palindrome) |
| [0141-linked-list-cycle](https://github.com/bmukesh23/DSA/tree/master/0141-linked-list-cycle) |
| [0148-sort-list](https://github.com/bmukesh23/DSA/tree/master/0148-sort-list) |
| [0151-reverse-words-in-a-string](https://github.com/bmukesh23/DSA/tree/master/0151-reverse-words-in-a-string) |
| [0160-intersection-of-two-linked-lists](https://github.com/bmukesh23/DSA/tree/master/0160-intersection-of-two-linked-lists) |
| [0165-compare-version-numbers](https://github.com/bmukesh23/DSA/tree/master/0165-compare-version-numbers) |
| [0189-rotate-array](https://github.com/bmukesh23/DSA/tree/master/0189-rotate-array) |
| [0234-palindrome-linked-list](https://github.com/bmukesh23/DSA/tree/master/0234-palindrome-linked-list) |
| [0283-move-zeroes](https://github.com/bmukesh23/DSA/tree/master/0283-move-zeroes) |
| [0287-find-the-duplicate-number](https://github.com/bmukesh23/DSA/tree/master/0287-find-the-duplicate-number) |
| [0455-assign-cookies](https://github.com/bmukesh23/DSA/tree/master/0455-assign-cookies) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0908-middle-of-the-linked-list](https://github.com/bmukesh23/DSA/tree/master/0908-middle-of-the-linked-list) |
| [2271-rearrange-array-elements-by-sign](https://github.com/bmukesh23/DSA/tree/master/2271-rearrange-array-elements-by-sign) |
## String
| |
| ------- |
| [0003-longest-substring-without-repeating-characters](https://github.com/bmukesh23/DSA/tree/master/0003-longest-substring-without-repeating-characters) |
| [0008-string-to-integer-atoi](https://github.com/bmukesh23/DSA/tree/master/0008-string-to-integer-atoi) |
| [0013-roman-to-integer](https://github.com/bmukesh23/DSA/tree/master/0013-roman-to-integer) |
| [0017-letter-combinations-of-a-phone-number](https://github.com/bmukesh23/DSA/tree/master/0017-letter-combinations-of-a-phone-number) |
| [0020-valid-parentheses](https://github.com/bmukesh23/DSA/tree/master/0020-valid-parentheses) |
| [0028-find-the-index-of-the-first-occurrence-in-a-string](https://github.com/bmukesh23/DSA/tree/master/0028-find-the-index-of-the-first-occurrence-in-a-string) |
| [0038-count-and-say](https://github.com/bmukesh23/DSA/tree/master/0038-count-and-say) |
| [0079-word-search](https://github.com/bmukesh23/DSA/tree/master/0079-word-search) |
| [0125-valid-palindrome](https://github.com/bmukesh23/DSA/tree/master/0125-valid-palindrome) |
| [0131-palindrome-partitioning](https://github.com/bmukesh23/DSA/tree/master/0131-palindrome-partitioning) |
| [0151-reverse-words-in-a-string](https://github.com/bmukesh23/DSA/tree/master/0151-reverse-words-in-a-string) |
| [0165-compare-version-numbers](https://github.com/bmukesh23/DSA/tree/master/0165-compare-version-numbers) |
| [0205-isomorphic-strings](https://github.com/bmukesh23/DSA/tree/master/0205-isomorphic-strings) |
| [0242-valid-anagram](https://github.com/bmukesh23/DSA/tree/master/0242-valid-anagram) |
| [0402-remove-k-digits](https://github.com/bmukesh23/DSA/tree/master/0402-remove-k-digits) |
| [0424-longest-repeating-character-replacement](https://github.com/bmukesh23/DSA/tree/master/0424-longest-repeating-character-replacement) |
| [0678-valid-parenthesis-string](https://github.com/bmukesh23/DSA/tree/master/0678-valid-parenthesis-string) |
| [0686-repeated-string-match](https://github.com/bmukesh23/DSA/tree/master/0686-repeated-string-match) |
| [0812-rotate-string](https://github.com/bmukesh23/DSA/tree/master/0812-rotate-string) |
| [0957-minimum-add-to-make-parentheses-valid](https://github.com/bmukesh23/DSA/tree/master/0957-minimum-add-to-make-parentheses-valid) |
| [1078-remove-outermost-parentheses](https://github.com/bmukesh23/DSA/tree/master/1078-remove-outermost-parentheses) |
| [1460-number-of-substrings-containing-all-three-characters](https://github.com/bmukesh23/DSA/tree/master/1460-number-of-substrings-containing-all-three-characters) |
| [1737-maximum-nesting-depth-of-the-parentheses](https://github.com/bmukesh23/DSA/tree/master/1737-maximum-nesting-depth-of-the-parentheses) |
| [1890-sum-of-beauty-of-all-substrings](https://github.com/bmukesh23/DSA/tree/master/1890-sum-of-beauty-of-all-substrings) |
| [1915-check-if-one-string-swap-can-make-strings-equal](https://github.com/bmukesh23/DSA/tree/master/1915-check-if-one-string-swap-can-make-strings-equal) |
| [2032-largest-odd-number-in-string](https://github.com/bmukesh23/DSA/tree/master/2032-largest-odd-number-in-string) |
## Sorting
| |
| ------- |
| [0015-3sum](https://github.com/bmukesh23/DSA/tree/master/0015-3sum) |
| [0018-4sum](https://github.com/bmukesh23/DSA/tree/master/0018-4sum) |
| [0056-merge-intervals](https://github.com/bmukesh23/DSA/tree/master/0056-merge-intervals) |
| [0075-sort-colors](https://github.com/bmukesh23/DSA/tree/master/0075-sort-colors) |
| [0088-merge-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0088-merge-sorted-array) |
| [0148-sort-list](https://github.com/bmukesh23/DSA/tree/master/0148-sort-list) |
| [0169-majority-element](https://github.com/bmukesh23/DSA/tree/master/0169-majority-element) |
| [0217-contains-duplicate](https://github.com/bmukesh23/DSA/tree/master/0217-contains-duplicate) |
| [0229-majority-element-ii](https://github.com/bmukesh23/DSA/tree/master/0229-majority-element-ii) |
| [0242-valid-anagram](https://github.com/bmukesh23/DSA/tree/master/0242-valid-anagram) |
| [0268-missing-number](https://github.com/bmukesh23/DSA/tree/master/0268-missing-number) |
| [0435-non-overlapping-intervals](https://github.com/bmukesh23/DSA/tree/master/0435-non-overlapping-intervals) |
| [0455-assign-cookies](https://github.com/bmukesh23/DSA/tree/master/0455-assign-cookies) |
| [1966-frequency-of-the-most-frequent-element](https://github.com/bmukesh23/DSA/tree/master/1966-frequency-of-the-most-frequent-element) |
## Binary Search
| |
| ------- |
| [0004-median-of-two-sorted-arrays](https://github.com/bmukesh23/DSA/tree/master/0004-median-of-two-sorted-arrays) |
| [0033-search-in-rotated-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0033-search-in-rotated-sorted-array) |
| [0034-find-first-and-last-position-of-element-in-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0034-find-first-and-last-position-of-element-in-sorted-array) |
| [0035-search-insert-position](https://github.com/bmukesh23/DSA/tree/master/0035-search-insert-position) |
| [0074-search-a-2d-matrix](https://github.com/bmukesh23/DSA/tree/master/0074-search-a-2d-matrix) |
| [0081-search-in-rotated-sorted-array-ii](https://github.com/bmukesh23/DSA/tree/master/0081-search-in-rotated-sorted-array-ii) |
| [0153-find-minimum-in-rotated-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0153-find-minimum-in-rotated-sorted-array) |
| [0162-find-peak-element](https://github.com/bmukesh23/DSA/tree/master/0162-find-peak-element) |
| [0240-search-a-2d-matrix-ii](https://github.com/bmukesh23/DSA/tree/master/0240-search-a-2d-matrix-ii) |
| [0268-missing-number](https://github.com/bmukesh23/DSA/tree/master/0268-missing-number) |
| [0287-find-the-duplicate-number](https://github.com/bmukesh23/DSA/tree/master/0287-find-the-duplicate-number) |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
| [0540-single-element-in-a-sorted-array](https://github.com/bmukesh23/DSA/tree/master/0540-single-element-in-a-sorted-array) |
| [0792-binary-search](https://github.com/bmukesh23/DSA/tree/master/0792-binary-search) |
| [1046-max-consecutive-ones-iii](https://github.com/bmukesh23/DSA/tree/master/1046-max-consecutive-ones-iii) |
| [1408-find-the-smallest-divisor-given-a-threshold](https://github.com/bmukesh23/DSA/tree/master/1408-find-the-smallest-divisor-given-a-threshold) |
| [1646-kth-missing-positive-number](https://github.com/bmukesh23/DSA/tree/master/1646-kth-missing-positive-number) |
| [1966-frequency-of-the-most-frequent-element](https://github.com/bmukesh23/DSA/tree/master/1966-frequency-of-the-most-frequent-element) |
## Bit Manipulation
| |
| ------- |
| [0078-subsets](https://github.com/bmukesh23/DSA/tree/master/0078-subsets) |
| [0090-subsets-ii](https://github.com/bmukesh23/DSA/tree/master/0090-subsets-ii) |
| [0136-single-number](https://github.com/bmukesh23/DSA/tree/master/0136-single-number) |
| [0268-missing-number](https://github.com/bmukesh23/DSA/tree/master/0268-missing-number) |
| [0287-find-the-duplicate-number](https://github.com/bmukesh23/DSA/tree/master/0287-find-the-duplicate-number) |
## Greedy
| |
| ------- |
| [0045-jump-game-ii](https://github.com/bmukesh23/DSA/tree/master/0045-jump-game-ii) |
| [0055-jump-game](https://github.com/bmukesh23/DSA/tree/master/0055-jump-game) |
| [0402-remove-k-digits](https://github.com/bmukesh23/DSA/tree/master/0402-remove-k-digits) |
| [0435-non-overlapping-intervals](https://github.com/bmukesh23/DSA/tree/master/0435-non-overlapping-intervals) |
| [0455-assign-cookies](https://github.com/bmukesh23/DSA/tree/master/0455-assign-cookies) |
| [0678-valid-parenthesis-string](https://github.com/bmukesh23/DSA/tree/master/0678-valid-parenthesis-string) |
| [0890-lemonade-change](https://github.com/bmukesh23/DSA/tree/master/0890-lemonade-change) |
| [0957-minimum-add-to-make-parentheses-valid](https://github.com/bmukesh23/DSA/tree/master/0957-minimum-add-to-make-parentheses-valid) |
| [1966-frequency-of-the-most-frequent-element](https://github.com/bmukesh23/DSA/tree/master/1966-frequency-of-the-most-frequent-element) |
| [2032-largest-odd-number-in-string](https://github.com/bmukesh23/DSA/tree/master/2032-largest-odd-number-in-string) |
## Sliding Window
| |
| ------- |
| [0003-longest-substring-without-repeating-characters](https://github.com/bmukesh23/DSA/tree/master/0003-longest-substring-without-repeating-characters) |
| [0424-longest-repeating-character-replacement](https://github.com/bmukesh23/DSA/tree/master/0424-longest-repeating-character-replacement) |
| [0966-binary-subarrays-with-sum](https://github.com/bmukesh23/DSA/tree/master/0966-binary-subarrays-with-sum) |
| [1046-max-consecutive-ones-iii](https://github.com/bmukesh23/DSA/tree/master/1046-max-consecutive-ones-iii) |
| [1370-count-number-of-nice-subarrays](https://github.com/bmukesh23/DSA/tree/master/1370-count-number-of-nice-subarrays) |
| [1460-number-of-substrings-containing-all-three-characters](https://github.com/bmukesh23/DSA/tree/master/1460-number-of-substrings-containing-all-three-characters) |
| [1538-maximum-points-you-can-obtain-from-cards](https://github.com/bmukesh23/DSA/tree/master/1538-maximum-points-you-can-obtain-from-cards) |
| [1755-defuse-the-bomb](https://github.com/bmukesh23/DSA/tree/master/1755-defuse-the-bomb) |
| [1966-frequency-of-the-most-frequent-element](https://github.com/bmukesh23/DSA/tree/master/1966-frequency-of-the-most-frequent-element) |
## Prefix Sum
| |
| ------- |
| [0966-binary-subarrays-with-sum](https://github.com/bmukesh23/DSA/tree/master/0966-binary-subarrays-with-sum) |
| [1046-max-consecutive-ones-iii](https://github.com/bmukesh23/DSA/tree/master/1046-max-consecutive-ones-iii) |
| [1370-count-number-of-nice-subarrays](https://github.com/bmukesh23/DSA/tree/master/1370-count-number-of-nice-subarrays) |
| [1538-maximum-points-you-can-obtain-from-cards](https://github.com/bmukesh23/DSA/tree/master/1538-maximum-points-you-can-obtain-from-cards) |
| [1966-frequency-of-the-most-frequent-element](https://github.com/bmukesh23/DSA/tree/master/1966-frequency-of-the-most-frequent-element) |
## Database
| |
| ------- |
| [0176-second-highest-salary](https://github.com/bmukesh23/DSA/tree/master/0176-second-highest-salary) |
| [0180-consecutive-numbers](https://github.com/bmukesh23/DSA/tree/master/0180-consecutive-numbers) |
| [0196-delete-duplicate-emails](https://github.com/bmukesh23/DSA/tree/master/0196-delete-duplicate-emails) |
| [0197-rising-temperature](https://github.com/bmukesh23/DSA/tree/master/0197-rising-temperature) |
| [0570-managers-with-at-least-5-direct-reports](https://github.com/bmukesh23/DSA/tree/master/0570-managers-with-at-least-5-direct-reports) |
| [0577-employee-bonus](https://github.com/bmukesh23/DSA/tree/master/0577-employee-bonus) |
| [0584-find-customer-referee](https://github.com/bmukesh23/DSA/tree/master/0584-find-customer-referee) |
| [0585-investments-in-2016](https://github.com/bmukesh23/DSA/tree/master/0585-investments-in-2016) |
| [0595-big-countries](https://github.com/bmukesh23/DSA/tree/master/0595-big-countries) |
| [0596-classes-more-than-5-students](https://github.com/bmukesh23/DSA/tree/master/0596-classes-more-than-5-students) |
| [0602-friend-requests-ii-who-has-the-most-friends](https://github.com/bmukesh23/DSA/tree/master/0602-friend-requests-ii-who-has-the-most-friends) |
| [0610-triangle-judgement](https://github.com/bmukesh23/DSA/tree/master/0610-triangle-judgement) |
| [0619-biggest-single-number](https://github.com/bmukesh23/DSA/tree/master/0619-biggest-single-number) |
| [0620-not-boring-movies](https://github.com/bmukesh23/DSA/tree/master/0620-not-boring-movies) |
| [0626-exchange-seats](https://github.com/bmukesh23/DSA/tree/master/0626-exchange-seats) |
| [1070-product-sales-analysis-iii](https://github.com/bmukesh23/DSA/tree/master/1070-product-sales-analysis-iii) |
| [1135-customers-who-bought-all-products](https://github.com/bmukesh23/DSA/tree/master/1135-customers-who-bought-all-products) |
| [1153-product-sales-analysis-i](https://github.com/bmukesh23/DSA/tree/master/1153-product-sales-analysis-i) |
| [1155-product-sales-analysis-iii](https://github.com/bmukesh23/DSA/tree/master/1155-product-sales-analysis-iii) |
| [1161-project-employees-i](https://github.com/bmukesh23/DSA/tree/master/1161-project-employees-i) |
| [1182-game-play-analysis-iv](https://github.com/bmukesh23/DSA/tree/master/1182-game-play-analysis-iv) |
| [1245-user-activity-for-the-past-30-days-i](https://github.com/bmukesh23/DSA/tree/master/1245-user-activity-for-the-past-30-days-i) |
| [1258-article-views-i](https://github.com/bmukesh23/DSA/tree/master/1258-article-views-i) |
| [1278-product-price-at-a-given-date](https://github.com/bmukesh23/DSA/tree/master/1278-product-price-at-a-given-date) |
| [1292-immediate-food-delivery-ii](https://github.com/bmukesh23/DSA/tree/master/1292-immediate-food-delivery-ii) |
| [1317-monthly-transactions-i](https://github.com/bmukesh23/DSA/tree/master/1317-monthly-transactions-i) |
| [1327-last-person-to-fit-in-the-bus](https://github.com/bmukesh23/DSA/tree/master/1327-last-person-to-fit-in-the-bus) |
| [1338-queries-quality-and-percentage](https://github.com/bmukesh23/DSA/tree/master/1338-queries-quality-and-percentage) |
| [1390-average-selling-price](https://github.com/bmukesh23/DSA/tree/master/1390-average-selling-price) |
| [1415-students-and-examinations](https://github.com/bmukesh23/DSA/tree/master/1415-students-and-examinations) |
| [1452-restaurant-growth](https://github.com/bmukesh23/DSA/tree/master/1452-restaurant-growth) |
| [1462-list-the-products-ordered-in-a-period](https://github.com/bmukesh23/DSA/tree/master/1462-list-the-products-ordered-in-a-period) |
| [1480-movie-rating](https://github.com/bmukesh23/DSA/tree/master/1480-movie-rating) |
| [1509-replace-employee-id-with-the-unique-identifier](https://github.com/bmukesh23/DSA/tree/master/1509-replace-employee-id-with-the-unique-identifier) |
| [1625-group-sold-products-by-the-date](https://github.com/bmukesh23/DSA/tree/master/1625-group-sold-products-by-the-date) |
| [1664-find-users-with-valid-e-mails](https://github.com/bmukesh23/DSA/tree/master/1664-find-users-with-valid-e-mails) |
| [1670-patients-with-a-condition](https://github.com/bmukesh23/DSA/tree/master/1670-patients-with-a-condition) |
| [1724-customer-who-visited-but-did-not-make-any-transactions](https://github.com/bmukesh23/DSA/tree/master/1724-customer-who-visited-but-did-not-make-any-transactions) |
| [1773-percentage-of-users-attended-a-contest](https://github.com/bmukesh23/DSA/tree/master/1773-percentage-of-users-attended-a-contest) |
| [1801-average-time-of-process-per-machine](https://github.com/bmukesh23/DSA/tree/master/1801-average-time-of-process-per-machine) |
| [1811-fix-names-in-a-table](https://github.com/bmukesh23/DSA/tree/master/1811-fix-names-in-a-table) |
| [1827-invalid-tweets](https://github.com/bmukesh23/DSA/tree/master/1827-invalid-tweets) |
| [1877-find-followers-count](https://github.com/bmukesh23/DSA/tree/master/1877-find-followers-count) |
| [1882-the-number-of-employees-which-report-to-each-employee](https://github.com/bmukesh23/DSA/tree/master/1882-the-number-of-employees-which-report-to-each-employee) |
| [1908-recyclable-and-low-fat-products](https://github.com/bmukesh23/DSA/tree/master/1908-recyclable-and-low-fat-products) |
| [1942-primary-department-for-each-employee](https://github.com/bmukesh23/DSA/tree/master/1942-primary-department-for-each-employee) |
| [2057-count-salary-categories](https://github.com/bmukesh23/DSA/tree/master/2057-count-salary-categories) |
| [2087-confirmation-rate](https://github.com/bmukesh23/DSA/tree/master/2087-confirmation-rate) |
| [2127-employees-whose-manager-left-the-company](https://github.com/bmukesh23/DSA/tree/master/2127-employees-whose-manager-left-the-company) |
| [2495-number-of-unique-subjects-taught-by-each-teacher](https://github.com/bmukesh23/DSA/tree/master/2495-number-of-unique-subjects-taught-by-each-teacher) |
## Divide and Conquer
| |
| ------- |
| [0004-median-of-two-sorted-arrays](https://github.com/bmukesh23/DSA/tree/master/0004-median-of-two-sorted-arrays) |
| [0053-maximum-subarray](https://github.com/bmukesh23/DSA/tree/master/0053-maximum-subarray) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0148-sort-list](https://github.com/bmukesh23/DSA/tree/master/0148-sort-list) |
| [0169-majority-element](https://github.com/bmukesh23/DSA/tree/master/0169-majority-element) |
| [0240-search-a-2d-matrix-ii](https://github.com/bmukesh23/DSA/tree/master/0240-search-a-2d-matrix-ii) |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
## Counting
| |
| ------- |
| [0169-majority-element](https://github.com/bmukesh23/DSA/tree/master/0169-majority-element) |
| [0229-majority-element-ii](https://github.com/bmukesh23/DSA/tree/master/0229-majority-element-ii) |
| [1364-tuple-with-same-product](https://github.com/bmukesh23/DSA/tree/master/1364-tuple-with-same-product) |
| [1890-sum-of-beauty-of-all-substrings](https://github.com/bmukesh23/DSA/tree/master/1890-sum-of-beauty-of-all-substrings) |
| [1915-check-if-one-string-swap-can-make-strings-equal](https://github.com/bmukesh23/DSA/tree/master/1915-check-if-one-string-swap-can-make-strings-equal) |
## Simulation
| |
| ------- |
| [0735-asteroid-collision](https://github.com/bmukesh23/DSA/tree/master/0735-asteroid-collision) |
| [2271-rearrange-array-elements-by-sign](https://github.com/bmukesh23/DSA/tree/master/2271-rearrange-array-elements-by-sign) |
| [2324-find-triangular-sum-of-an-array](https://github.com/bmukesh23/DSA/tree/master/2324-find-triangular-sum-of-an-array) |
## Union Find
| |
| ------- |
| [0128-longest-consecutive-sequence](https://github.com/bmukesh23/DSA/tree/master/0128-longest-consecutive-sequence) |
## Matrix
| |
| ------- |
| [0048-rotate-image](https://github.com/bmukesh23/DSA/tree/master/0048-rotate-image) |
| [0073-set-matrix-zeroes](https://github.com/bmukesh23/DSA/tree/master/0073-set-matrix-zeroes) |
| [0074-search-a-2d-matrix](https://github.com/bmukesh23/DSA/tree/master/0074-search-a-2d-matrix) |
| [0079-word-search](https://github.com/bmukesh23/DSA/tree/master/0079-word-search) |
| [0240-search-a-2d-matrix-ii](https://github.com/bmukesh23/DSA/tree/master/0240-search-a-2d-matrix-ii) |
## Combinatorics
| |
| ------- |
| [2324-find-triangular-sum-of-an-array](https://github.com/bmukesh23/DSA/tree/master/2324-find-triangular-sum-of-an-array) |
## Binary Indexed Tree
| |
| ------- |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
## Segment Tree
| |
| ------- |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
## Merge Sort
| |
| ------- |
| [0148-sort-list](https://github.com/bmukesh23/DSA/tree/master/0148-sort-list) |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
## Ordered Set
| |
| ------- |
| [0493-reverse-pairs](https://github.com/bmukesh23/DSA/tree/master/0493-reverse-pairs) |
## String Matching
| |
| ------- |
| [0028-find-the-index-of-the-first-occurrence-in-a-string](https://github.com/bmukesh23/DSA/tree/master/0028-find-the-index-of-the-first-occurrence-in-a-string) |
| [0686-repeated-string-match](https://github.com/bmukesh23/DSA/tree/master/0686-repeated-string-match) |
| [0812-rotate-string](https://github.com/bmukesh23/DSA/tree/master/0812-rotate-string) |
## Linked List
| |
| ------- |
| [0002-add-two-numbers](https://github.com/bmukesh23/DSA/tree/master/0002-add-two-numbers) |
| [0019-remove-nth-node-from-end-of-list](https://github.com/bmukesh23/DSA/tree/master/0019-remove-nth-node-from-end-of-list) |
| [0021-merge-two-sorted-lists](https://github.com/bmukesh23/DSA/tree/master/0021-merge-two-sorted-lists) |
| [0025-reverse-nodes-in-k-group](https://github.com/bmukesh23/DSA/tree/master/0025-reverse-nodes-in-k-group) |
| [0061-rotate-list](https://github.com/bmukesh23/DSA/tree/master/0061-rotate-list) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/bmukesh23/DSA/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0138-copy-list-with-random-pointer](https://github.com/bmukesh23/DSA/tree/master/0138-copy-list-with-random-pointer) |
| [0141-linked-list-cycle](https://github.com/bmukesh23/DSA/tree/master/0141-linked-list-cycle) |
| [0146-lru-cache](https://github.com/bmukesh23/DSA/tree/master/0146-lru-cache) |
| [0148-sort-list](https://github.com/bmukesh23/DSA/tree/master/0148-sort-list) |
| [0160-intersection-of-two-linked-lists](https://github.com/bmukesh23/DSA/tree/master/0160-intersection-of-two-linked-lists) |
| [0206-reverse-linked-list](https://github.com/bmukesh23/DSA/tree/master/0206-reverse-linked-list) |
| [0234-palindrome-linked-list](https://github.com/bmukesh23/DSA/tree/master/0234-palindrome-linked-list) |
| [0237-delete-node-in-a-linked-list](https://github.com/bmukesh23/DSA/tree/master/0237-delete-node-in-a-linked-list) |
| [0328-odd-even-linked-list](https://github.com/bmukesh23/DSA/tree/master/0328-odd-even-linked-list) |
| [0460-lfu-cache](https://github.com/bmukesh23/DSA/tree/master/0460-lfu-cache) |
| [0908-middle-of-the-linked-list](https://github.com/bmukesh23/DSA/tree/master/0908-middle-of-the-linked-list) |
## Stack
| |
| ------- |
| [0020-valid-parentheses](https://github.com/bmukesh23/DSA/tree/master/0020-valid-parentheses) |
| [0042-trapping-rain-water](https://github.com/bmukesh23/DSA/tree/master/0042-trapping-rain-water) |
| [0094-binary-tree-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0094-binary-tree-inorder-traversal) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/bmukesh23/DSA/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0144-binary-tree-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0145-binary-tree-postorder-traversal) |
| [0155-min-stack](https://github.com/bmukesh23/DSA/tree/master/0155-min-stack) |
| [0173-binary-search-tree-iterator](https://github.com/bmukesh23/DSA/tree/master/0173-binary-search-tree-iterator) |
| [0225-implement-stack-using-queues](https://github.com/bmukesh23/DSA/tree/master/0225-implement-stack-using-queues) |
| [0232-implement-queue-using-stacks](https://github.com/bmukesh23/DSA/tree/master/0232-implement-queue-using-stacks) |
| [0234-palindrome-linked-list](https://github.com/bmukesh23/DSA/tree/master/0234-palindrome-linked-list) |
| [0402-remove-k-digits](https://github.com/bmukesh23/DSA/tree/master/0402-remove-k-digits) |
| [0496-next-greater-element-i](https://github.com/bmukesh23/DSA/tree/master/0496-next-greater-element-i) |
| [0503-next-greater-element-ii](https://github.com/bmukesh23/DSA/tree/master/0503-next-greater-element-ii) |
| [0678-valid-parenthesis-string](https://github.com/bmukesh23/DSA/tree/master/0678-valid-parenthesis-string) |
| [0735-asteroid-collision](https://github.com/bmukesh23/DSA/tree/master/0735-asteroid-collision) |
| [0937-online-stock-span](https://github.com/bmukesh23/DSA/tree/master/0937-online-stock-span) |
| [0943-sum-of-subarray-minimums](https://github.com/bmukesh23/DSA/tree/master/0943-sum-of-subarray-minimums) |
| [0957-minimum-add-to-make-parentheses-valid](https://github.com/bmukesh23/DSA/tree/master/0957-minimum-add-to-make-parentheses-valid) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [1078-remove-outermost-parentheses](https://github.com/bmukesh23/DSA/tree/master/1078-remove-outermost-parentheses) |
| [1737-maximum-nesting-depth-of-the-parentheses](https://github.com/bmukesh23/DSA/tree/master/1737-maximum-nesting-depth-of-the-parentheses) |
| [2227-sum-of-subarray-ranges](https://github.com/bmukesh23/DSA/tree/master/2227-sum-of-subarray-ranges) |
## Backtracking
| |
| ------- |
| [0017-letter-combinations-of-a-phone-number](https://github.com/bmukesh23/DSA/tree/master/0017-letter-combinations-of-a-phone-number) |
| [0039-combination-sum](https://github.com/bmukesh23/DSA/tree/master/0039-combination-sum) |
| [0040-combination-sum-ii](https://github.com/bmukesh23/DSA/tree/master/0040-combination-sum-ii) |
| [0078-subsets](https://github.com/bmukesh23/DSA/tree/master/0078-subsets) |
| [0079-word-search](https://github.com/bmukesh23/DSA/tree/master/0079-word-search) |
| [0090-subsets-ii](https://github.com/bmukesh23/DSA/tree/master/0090-subsets-ii) |
| [0131-palindrome-partitioning](https://github.com/bmukesh23/DSA/tree/master/0131-palindrome-partitioning) |
| [0216-combination-sum-iii](https://github.com/bmukesh23/DSA/tree/master/0216-combination-sum-iii) |
## Depth-First Search
| |
| ------- |
| [0079-word-search](https://github.com/bmukesh23/DSA/tree/master/0079-word-search) |
| [0094-binary-tree-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0094-binary-tree-inorder-traversal) |
| [0098-validate-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0098-validate-binary-search-tree) |
| [0100-same-tree](https://github.com/bmukesh23/DSA/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/bmukesh23/DSA/tree/master/0101-symmetric-tree) |
| [0104-maximum-depth-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0104-maximum-depth-of-binary-tree) |
| [0110-balanced-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0110-balanced-binary-tree) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/bmukesh23/DSA/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0124-binary-tree-maximum-path-sum](https://github.com/bmukesh23/DSA/tree/master/0124-binary-tree-maximum-path-sum) |
| [0144-binary-tree-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0145-binary-tree-postorder-traversal) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/bmukesh23/DSA/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0543-diameter-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0543-diameter-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0662-maximum-width-of-binary-tree) |
## Design
| |
| ------- |
| [0146-lru-cache](https://github.com/bmukesh23/DSA/tree/master/0146-lru-cache) |
| [0155-min-stack](https://github.com/bmukesh23/DSA/tree/master/0155-min-stack) |
| [0173-binary-search-tree-iterator](https://github.com/bmukesh23/DSA/tree/master/0173-binary-search-tree-iterator) |
| [0225-implement-stack-using-queues](https://github.com/bmukesh23/DSA/tree/master/0225-implement-stack-using-queues) |
| [0232-implement-queue-using-stacks](https://github.com/bmukesh23/DSA/tree/master/0232-implement-queue-using-stacks) |
| [0460-lfu-cache](https://github.com/bmukesh23/DSA/tree/master/0460-lfu-cache) |
| [0937-online-stock-span](https://github.com/bmukesh23/DSA/tree/master/0937-online-stock-span) |
## Queue
| |
| ------- |
| [0225-implement-stack-using-queues](https://github.com/bmukesh23/DSA/tree/master/0225-implement-stack-using-queues) |
| [0232-implement-queue-using-stacks](https://github.com/bmukesh23/DSA/tree/master/0232-implement-queue-using-stacks) |
## Monotonic Stack
| |
| ------- |
| [0042-trapping-rain-water](https://github.com/bmukesh23/DSA/tree/master/0042-trapping-rain-water) |
| [0402-remove-k-digits](https://github.com/bmukesh23/DSA/tree/master/0402-remove-k-digits) |
| [0496-next-greater-element-i](https://github.com/bmukesh23/DSA/tree/master/0496-next-greater-element-i) |
| [0503-next-greater-element-ii](https://github.com/bmukesh23/DSA/tree/master/0503-next-greater-element-ii) |
| [0937-online-stock-span](https://github.com/bmukesh23/DSA/tree/master/0937-online-stock-span) |
| [0943-sum-of-subarray-minimums](https://github.com/bmukesh23/DSA/tree/master/0943-sum-of-subarray-minimums) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [2227-sum-of-subarray-ranges](https://github.com/bmukesh23/DSA/tree/master/2227-sum-of-subarray-ranges) |
## Doubly-Linked List
| |
| ------- |
| [0146-lru-cache](https://github.com/bmukesh23/DSA/tree/master/0146-lru-cache) |
| [0460-lfu-cache](https://github.com/bmukesh23/DSA/tree/master/0460-lfu-cache) |
## Data Stream
| |
| ------- |
| [0937-online-stock-span](https://github.com/bmukesh23/DSA/tree/master/0937-online-stock-span) |
## Tree
| |
| ------- |
| [0094-binary-tree-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0094-binary-tree-inorder-traversal) |
| [0098-validate-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0098-validate-binary-search-tree) |
| [0100-same-tree](https://github.com/bmukesh23/DSA/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/bmukesh23/DSA/tree/master/0101-symmetric-tree) |
| [0102-binary-tree-level-order-traversal](https://github.com/bmukesh23/DSA/tree/master/0102-binary-tree-level-order-traversal) |
| [0103-binary-tree-zigzag-level-order-traversal](https://github.com/bmukesh23/DSA/tree/master/0103-binary-tree-zigzag-level-order-traversal) |
| [0104-maximum-depth-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0104-maximum-depth-of-binary-tree) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0110-balanced-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0110-balanced-binary-tree) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/bmukesh23/DSA/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0124-binary-tree-maximum-path-sum](https://github.com/bmukesh23/DSA/tree/master/0124-binary-tree-maximum-path-sum) |
| [0144-binary-tree-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0145-binary-tree-postorder-traversal) |
| [0173-binary-search-tree-iterator](https://github.com/bmukesh23/DSA/tree/master/0173-binary-search-tree-iterator) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/bmukesh23/DSA/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0543-diameter-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0543-diameter-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0662-maximum-width-of-binary-tree) |
| [0783-search-in-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0783-search-in-a-binary-search-tree) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
## Breadth-First Search
| |
| ------- |
| [0100-same-tree](https://github.com/bmukesh23/DSA/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/bmukesh23/DSA/tree/master/0101-symmetric-tree) |
| [0102-binary-tree-level-order-traversal](https://github.com/bmukesh23/DSA/tree/master/0102-binary-tree-level-order-traversal) |
| [0103-binary-tree-zigzag-level-order-traversal](https://github.com/bmukesh23/DSA/tree/master/0103-binary-tree-zigzag-level-order-traversal) |
| [0104-maximum-depth-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0104-maximum-depth-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0662-maximum-width-of-binary-tree) |
## Binary Tree
| |
| ------- |
| [0094-binary-tree-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0094-binary-tree-inorder-traversal) |
| [0098-validate-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0098-validate-binary-search-tree) |
| [0100-same-tree](https://github.com/bmukesh23/DSA/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/bmukesh23/DSA/tree/master/0101-symmetric-tree) |
| [0102-binary-tree-level-order-traversal](https://github.com/bmukesh23/DSA/tree/master/0102-binary-tree-level-order-traversal) |
| [0103-binary-tree-zigzag-level-order-traversal](https://github.com/bmukesh23/DSA/tree/master/0103-binary-tree-zigzag-level-order-traversal) |
| [0104-maximum-depth-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0104-maximum-depth-of-binary-tree) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0110-balanced-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0110-balanced-binary-tree) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/bmukesh23/DSA/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0124-binary-tree-maximum-path-sum](https://github.com/bmukesh23/DSA/tree/master/0124-binary-tree-maximum-path-sum) |
| [0144-binary-tree-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/bmukesh23/DSA/tree/master/0145-binary-tree-postorder-traversal) |
| [0173-binary-search-tree-iterator](https://github.com/bmukesh23/DSA/tree/master/0173-binary-search-tree-iterator) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/bmukesh23/DSA/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0543-diameter-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0543-diameter-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/bmukesh23/DSA/tree/master/0662-maximum-width-of-binary-tree) |
| [0783-search-in-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0783-search-in-a-binary-search-tree) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
## Binary Search Tree
| |
| ------- |
| [0098-validate-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0098-validate-binary-search-tree) |
| [0173-binary-search-tree-iterator](https://github.com/bmukesh23/DSA/tree/master/0173-binary-search-tree-iterator) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/bmukesh23/DSA/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/bmukesh23/DSA/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0783-search-in-a-binary-search-tree](https://github.com/bmukesh23/DSA/tree/master/0783-search-in-a-binary-search-tree) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/bmukesh23/DSA/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
## Iterator
| |
| ------- |
| [0173-binary-search-tree-iterator](https://github.com/bmukesh23/DSA/tree/master/0173-binary-search-tree-iterator) |