Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samwraith/dsa-questions

DSA questions and solutions
https://github.com/samwraith/dsa-questions

Last synced: 17 days ago
JSON representation

DSA questions and solutions

Awesome Lists containing this project

README

        

# DSA-questions

# Graph
| |
| ------- |
| [1916-find-center-of-star-graph](https://github.com/SamWraith/DSA-questions/tree/master/1916-find-center-of-star-graph) |

# LeetCode Topics
## Greedy
| |
| ------- |
| [0179-largest-number](https://github.com/SamWraith/DSA-questions/tree/master/0179-largest-number) |
| [0410-split-array-largest-sum](https://github.com/SamWraith/DSA-questions/tree/master/0410-split-array-largest-sum) |
| [0455-assign-cookies](https://github.com/SamWraith/DSA-questions/tree/master/0455-assign-cookies) |
| [0624-maximum-distance-in-arrays](https://github.com/SamWraith/DSA-questions/tree/master/0624-maximum-distance-in-arrays) |
| [0632-smallest-range-covering-elements-from-k-lists](https://github.com/SamWraith/DSA-questions/tree/master/0632-smallest-range-covering-elements-from-k-lists) |
| [0670-maximum-swap](https://github.com/SamWraith/DSA-questions/tree/master/0670-maximum-swap) |
| [0890-lemonade-change](https://github.com/SamWraith/DSA-questions/tree/master/0890-lemonade-change) |
| [0957-minimum-add-to-make-parentheses-valid](https://github.com/SamWraith/DSA-questions/tree/master/0957-minimum-add-to-make-parentheses-valid) |
| [1304-longest-happy-string](https://github.com/SamWraith/DSA-questions/tree/master/1304-longest-happy-string) |
| [1616-minimum-difference-between-largest-and-smallest-value-in-three-moves](https://github.com/SamWraith/DSA-questions/tree/master/1616-minimum-difference-between-largest-and-smallest-value-in-three-moves) |
| [1711-find-valid-matrix-given-row-and-column-sums](https://github.com/SamWraith/DSA-questions/tree/master/1711-find-valid-matrix-given-row-and-column-sums) |
| [1766-minimum-number-of-removals-to-make-mountain-array](https://github.com/SamWraith/DSA-questions/tree/master/1766-minimum-number-of-removals-to-make-mountain-array) |
| [1818-maximum-score-from-removing-substrings](https://github.com/SamWraith/DSA-questions/tree/master/1818-maximum-score-from-removing-substrings) |
| [2089-maximum-matrix-sum](https://github.com/SamWraith/DSA-questions/tree/master/2089-maximum-matrix-sum) |
| [2095-minimum-number-of-swaps-to-make-the-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/2095-minimum-number-of-swaps-to-make-the-string-balanced) |
| [2379-maximum-total-importance-of-roads](https://github.com/SamWraith/DSA-questions/tree/master/2379-maximum-total-importance-of-roads) |
| [2488-divide-intervals-into-minimum-number-of-groups](https://github.com/SamWraith/DSA-questions/tree/master/2488-divide-intervals-into-minimum-number-of-groups) |
| [2616-maximal-score-after-applying-k-operations](https://github.com/SamWraith/DSA-questions/tree/master/2616-maximal-score-after-applying-k-operations) |
| [2716-prime-subtraction-operation](https://github.com/SamWraith/DSA-questions/tree/master/2716-prime-subtraction-operation) |
| [3195-separate-black-and-white-balls](https://github.com/SamWraith/DSA-questions/tree/master/3195-separate-black-and-white-balls) |
| [3276-minimum-number-of-pushes-to-type-word-ii](https://github.com/SamWraith/DSA-questions/tree/master/3276-minimum-number-of-pushes-to-type-word-ii) |
## Graph
| |
| ------- |
| [0207-course-schedule](https://github.com/SamWraith/DSA-questions/tree/master/0207-course-schedule) |
| [0210-course-schedule-ii](https://github.com/SamWraith/DSA-questions/tree/master/0210-course-schedule-ii) |
| [0801-is-graph-bipartite](https://github.com/SamWraith/DSA-questions/tree/master/0801-is-graph-bipartite) |
| [0984-most-stones-removed-with-same-row-or-column](https://github.com/SamWraith/DSA-questions/tree/master/0984-most-stones-removed-with-same-row-or-column) |
| [1300-critical-connections-in-a-network](https://github.com/SamWraith/DSA-questions/tree/master/1300-critical-connections-in-a-network) |
| [1325-path-with-maximum-probability](https://github.com/SamWraith/DSA-questions/tree/master/1325-path-with-maximum-probability) |
| [1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph](https://github.com/SamWraith/DSA-questions/tree/master/1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph) |
| [1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance](https://github.com/SamWraith/DSA-questions/tree/master/1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance) |
| [1701-remove-max-number-of-edges-to-keep-graph-fully-traversable](https://github.com/SamWraith/DSA-questions/tree/master/1701-remove-max-number-of-edges-to-keep-graph-fully-traversable) |
| [2171-second-minimum-time-to-reach-destination](https://github.com/SamWraith/DSA-questions/tree/master/2171-second-minimum-time-to-reach-destination) |
| [2375-minimum-obstacle-removal-to-reach-corner](https://github.com/SamWraith/DSA-questions/tree/master/2375-minimum-obstacle-removal-to-reach-corner) |
| [2379-maximum-total-importance-of-roads](https://github.com/SamWraith/DSA-questions/tree/master/2379-maximum-total-importance-of-roads) |
| [2472-build-a-matrix-with-conditions](https://github.com/SamWraith/DSA-questions/tree/master/2472-build-a-matrix-with-conditions) |
| [2711-minimum-time-to-visit-a-cell-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2711-minimum-time-to-visit-a-cell-in-a-grid) |
| [2803-modify-graph-edge-weights](https://github.com/SamWraith/DSA-questions/tree/master/2803-modify-graph-edge-weights) |
| [3189-find-champion-ii](https://github.com/SamWraith/DSA-questions/tree/master/3189-find-champion-ii) |
| [3235-minimum-cost-to-convert-string-i](https://github.com/SamWraith/DSA-questions/tree/master/3235-minimum-cost-to-convert-string-i) |
| [3517-shortest-distance-after-road-addition-queries-i](https://github.com/SamWraith/DSA-questions/tree/master/3517-shortest-distance-after-road-addition-queries-i) |
## Sorting
| |
| ------- |
| [0179-largest-number](https://github.com/SamWraith/DSA-questions/tree/master/0179-largest-number) |
| [0350-intersection-of-two-arrays-ii](https://github.com/SamWraith/DSA-questions/tree/master/0350-intersection-of-two-arrays-ii) |
| [0455-assign-cookies](https://github.com/SamWraith/DSA-questions/tree/master/0455-assign-cookies) |
| [0539-minimum-time-difference](https://github.com/SamWraith/DSA-questions/tree/master/0539-minimum-time-difference) |
| [0632-smallest-range-covering-elements-from-k-lists](https://github.com/SamWraith/DSA-questions/tree/master/0632-smallest-range-covering-elements-from-k-lists) |
| [0719-find-k-th-smallest-pair-distance](https://github.com/SamWraith/DSA-questions/tree/master/0719-find-k-th-smallest-pair-distance) |
| [0726-number-of-atoms](https://github.com/SamWraith/DSA-questions/tree/master/0726-number-of-atoms) |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
| [1029-vertical-order-traversal-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1029-vertical-order-traversal-of-a-binary-tree) |
| [1256-rank-transform-of-an-array](https://github.com/SamWraith/DSA-questions/tree/master/1256-rank-transform-of-an-array) |
| [1333-sort-the-jumbled-numbers](https://github.com/SamWraith/DSA-questions/tree/master/1333-sort-the-jumbled-numbers) |
| [1468-check-if-n-and-its-double-exist](https://github.com/SamWraith/DSA-questions/tree/master/1468-check-if-n-and-its-double-exist) |
| [1556-make-two-arrays-equal-by-reversing-subarrays](https://github.com/SamWraith/DSA-questions/tree/master/1556-make-two-arrays-equal-by-reversing-subarrays) |
| [1615-range-sum-of-sorted-subarray-sums](https://github.com/SamWraith/DSA-questions/tree/master/1615-range-sum-of-sorted-subarray-sums) |
| [1616-minimum-difference-between-largest-and-smallest-value-in-three-moves](https://github.com/SamWraith/DSA-questions/tree/master/1616-minimum-difference-between-largest-and-smallest-value-in-three-moves) |
| [1741-sort-array-by-increasing-frequency](https://github.com/SamWraith/DSA-questions/tree/master/1741-sort-array-by-increasing-frequency) |
| [2179-most-beautiful-item-for-each-query](https://github.com/SamWraith/DSA-questions/tree/master/2179-most-beautiful-item-for-each-query) |
| [2379-maximum-total-importance-of-roads](https://github.com/SamWraith/DSA-questions/tree/master/2379-maximum-total-importance-of-roads) |
| [2488-divide-intervals-into-minimum-number-of-groups](https://github.com/SamWraith/DSA-questions/tree/master/2488-divide-intervals-into-minimum-number-of-groups) |
| [2502-sort-the-people](https://github.com/SamWraith/DSA-questions/tree/master/2502-sort-the-people) |
| [2554-minimum-total-distance-traveled](https://github.com/SamWraith/DSA-questions/tree/master/2554-minimum-total-distance-traveled) |
| [2581-divide-players-into-teams-of-equal-skill](https://github.com/SamWraith/DSA-questions/tree/master/2581-divide-players-into-teams-of-equal-skill) |
| [2586-longest-square-streak-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2586-longest-square-streak-in-an-array) |
| [2646-kth-largest-sum-in-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/2646-kth-largest-sum-in-a-binary-tree) |
| [2699-count-the-number-of-fair-pairs](https://github.com/SamWraith/DSA-questions/tree/master/2699-count-the-number-of-fair-pairs) |
| [2846-robot-collisions](https://github.com/SamWraith/DSA-questions/tree/master/2846-robot-collisions) |
| [3276-minimum-number-of-pushes-to-type-word-ii](https://github.com/SamWraith/DSA-questions/tree/master/3276-minimum-number-of-pushes-to-type-word-ii) |
| [3291-find-if-array-can-be-sorted](https://github.com/SamWraith/DSA-questions/tree/master/3291-find-if-array-can-be-sorted) |
## Heap (Priority Queue)
| |
| ------- |
| [0264-ugly-number-ii](https://github.com/SamWraith/DSA-questions/tree/master/0264-ugly-number-ii) |
| [0632-smallest-range-covering-elements-from-k-lists](https://github.com/SamWraith/DSA-questions/tree/master/0632-smallest-range-covering-elements-from-k-lists) |
| [0789-kth-largest-element-in-a-stream](https://github.com/SamWraith/DSA-questions/tree/master/0789-kth-largest-element-in-a-stream) |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
| [1304-longest-happy-string](https://github.com/SamWraith/DSA-questions/tree/master/1304-longest-happy-string) |
| [1325-path-with-maximum-probability](https://github.com/SamWraith/DSA-questions/tree/master/1325-path-with-maximum-probability) |
| [2054-the-number-of-the-smallest-unoccupied-chair](https://github.com/SamWraith/DSA-questions/tree/master/2054-the-number-of-the-smallest-unoccupied-chair) |
| [2375-minimum-obstacle-removal-to-reach-corner](https://github.com/SamWraith/DSA-questions/tree/master/2375-minimum-obstacle-removal-to-reach-corner) |
| [2379-maximum-total-importance-of-roads](https://github.com/SamWraith/DSA-questions/tree/master/2379-maximum-total-importance-of-roads) |
| [2488-divide-intervals-into-minimum-number-of-groups](https://github.com/SamWraith/DSA-questions/tree/master/2488-divide-intervals-into-minimum-number-of-groups) |
| [2616-maximal-score-after-applying-k-operations](https://github.com/SamWraith/DSA-questions/tree/master/2616-maximal-score-after-applying-k-operations) |
| [2711-minimum-time-to-visit-a-cell-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2711-minimum-time-to-visit-a-cell-in-a-grid) |
| [2803-modify-graph-edge-weights](https://github.com/SamWraith/DSA-questions/tree/master/2803-modify-graph-edge-weights) |
## Depth-First Search
| |
| ------- |
| [0094-binary-tree-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0094-binary-tree-inorder-traversal) |
| [0098-validate-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0098-validate-binary-search-tree) |
| [0099-recover-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0099-recover-binary-search-tree) |
| [0100-same-tree](https://github.com/SamWraith/DSA-questions/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/SamWraith/DSA-questions/tree/master/0101-symmetric-tree) |
| [0104-maximum-depth-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0104-maximum-depth-of-binary-tree) |
| [0110-balanced-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0110-balanced-binary-tree) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0124-binary-tree-maximum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0124-binary-tree-maximum-path-sum) |
| [0144-binary-tree-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0145-binary-tree-postorder-traversal) |
| [0199-binary-tree-right-side-view](https://github.com/SamWraith/DSA-questions/tree/master/0199-binary-tree-right-side-view) |
| [0207-course-schedule](https://github.com/SamWraith/DSA-questions/tree/master/0207-course-schedule) |
| [0210-course-schedule-ii](https://github.com/SamWraith/DSA-questions/tree/master/0210-course-schedule-ii) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0236-lowest-common-ancestor-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0236-lowest-common-ancestor-of-a-binary-tree) |
| [0297-serialize-and-deserialize-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0297-serialize-and-deserialize-binary-tree) |
| [0386-lexicographical-numbers](https://github.com/SamWraith/DSA-questions/tree/master/0386-lexicographical-numbers) |
| [0543-diameter-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0543-diameter-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0662-maximum-width-of-binary-tree) |
| [0776-n-ary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0776-n-ary-tree-postorder-traversal) |
| [0801-is-graph-bipartite](https://github.com/SamWraith/DSA-questions/tree/master/0801-is-graph-bipartite) |
| [0893-all-nodes-distance-k-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0893-all-nodes-distance-k-in-binary-tree) |
| [0984-most-stones-removed-with-same-row-or-column](https://github.com/SamWraith/DSA-questions/tree/master/0984-most-stones-removed-with-same-row-or-column) |
| [0988-flip-equivalent-binary-trees](https://github.com/SamWraith/DSA-questions/tree/master/0988-flip-equivalent-binary-trees) |
| [0999-regions-cut-by-slashes](https://github.com/SamWraith/DSA-questions/tree/master/0999-regions-cut-by-slashes) |
| [1029-vertical-order-traversal-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1029-vertical-order-traversal-of-a-binary-tree) |
| [1207-delete-nodes-and-return-forest](https://github.com/SamWraith/DSA-questions/tree/master/1207-delete-nodes-and-return-forest) |
| [1300-critical-connections-in-a-network](https://github.com/SamWraith/DSA-questions/tree/master/1300-critical-connections-in-a-network) |
| [1350-remove-sub-folders-from-the-filesystem](https://github.com/SamWraith/DSA-questions/tree/master/1350-remove-sub-folders-from-the-filesystem) |
| [1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph](https://github.com/SamWraith/DSA-questions/tree/master/1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph) |
| [1484-linked-list-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1484-linked-list-in-binary-tree) |
| [1653-number-of-good-leaf-nodes-pairs](https://github.com/SamWraith/DSA-questions/tree/master/1653-number-of-good-leaf-nodes-pairs) |
| [1691-minimum-number-of-days-to-disconnect-island](https://github.com/SamWraith/DSA-questions/tree/master/1691-minimum-number-of-days-to-disconnect-island) |
| [2035-count-sub-islands](https://github.com/SamWraith/DSA-questions/tree/master/2035-count-sub-islands) |
| [2217-step-by-step-directions-from-a-binary-tree-node-to-another](https://github.com/SamWraith/DSA-questions/tree/master/2217-step-by-step-directions-from-a-binary-tree-node-to-another) |
| [2545-height-of-binary-tree-after-subtree-removal-queries](https://github.com/SamWraith/DSA-questions/tree/master/2545-height-of-binary-tree-after-subtree-removal-queries) |
| [2677-cousins-in-binary-tree-ii](https://github.com/SamWraith/DSA-questions/tree/master/2677-cousins-in-binary-tree-ii) |
## Breadth-First Search
| |
| ------- |
| [0100-same-tree](https://github.com/SamWraith/DSA-questions/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/SamWraith/DSA-questions/tree/master/0101-symmetric-tree) |
| [0102-binary-tree-level-order-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0102-binary-tree-level-order-traversal) |
| [0103-binary-tree-zigzag-level-order-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0103-binary-tree-zigzag-level-order-traversal) |
| [0104-maximum-depth-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0104-maximum-depth-of-binary-tree) |
| [0199-binary-tree-right-side-view](https://github.com/SamWraith/DSA-questions/tree/master/0199-binary-tree-right-side-view) |
| [0207-course-schedule](https://github.com/SamWraith/DSA-questions/tree/master/0207-course-schedule) |
| [0210-course-schedule-ii](https://github.com/SamWraith/DSA-questions/tree/master/0210-course-schedule-ii) |
| [0297-serialize-and-deserialize-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0297-serialize-and-deserialize-binary-tree) |
| [0322-coin-change](https://github.com/SamWraith/DSA-questions/tree/master/0322-coin-change) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0662-maximum-width-of-binary-tree) |
| [0787-sliding-puzzle](https://github.com/SamWraith/DSA-questions/tree/master/0787-sliding-puzzle) |
| [0801-is-graph-bipartite](https://github.com/SamWraith/DSA-questions/tree/master/0801-is-graph-bipartite) |
| [0893-all-nodes-distance-k-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0893-all-nodes-distance-k-in-binary-tree) |
| [0999-regions-cut-by-slashes](https://github.com/SamWraith/DSA-questions/tree/master/0999-regions-cut-by-slashes) |
| [1029-vertical-order-traversal-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1029-vertical-order-traversal-of-a-binary-tree) |
| [1036-rotting-oranges](https://github.com/SamWraith/DSA-questions/tree/master/1036-rotting-oranges) |
| [1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph](https://github.com/SamWraith/DSA-questions/tree/master/1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph) |
| [1484-linked-list-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1484-linked-list-in-binary-tree) |
| [1691-minimum-number-of-days-to-disconnect-island](https://github.com/SamWraith/DSA-questions/tree/master/1691-minimum-number-of-days-to-disconnect-island) |
| [2035-count-sub-islands](https://github.com/SamWraith/DSA-questions/tree/master/2035-count-sub-islands) |
| [2171-second-minimum-time-to-reach-destination](https://github.com/SamWraith/DSA-questions/tree/master/2171-second-minimum-time-to-reach-destination) |
| [2375-minimum-obstacle-removal-to-reach-corner](https://github.com/SamWraith/DSA-questions/tree/master/2375-minimum-obstacle-removal-to-reach-corner) |
| [2545-height-of-binary-tree-after-subtree-removal-queries](https://github.com/SamWraith/DSA-questions/tree/master/2545-height-of-binary-tree-after-subtree-removal-queries) |
| [2646-kth-largest-sum-in-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/2646-kth-largest-sum-in-a-binary-tree) |
| [2677-cousins-in-binary-tree-ii](https://github.com/SamWraith/DSA-questions/tree/master/2677-cousins-in-binary-tree-ii) |
| [2711-minimum-time-to-visit-a-cell-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2711-minimum-time-to-visit-a-cell-in-a-grid) |
| [3517-shortest-distance-after-road-addition-queries-i](https://github.com/SamWraith/DSA-questions/tree/master/3517-shortest-distance-after-road-addition-queries-i) |
## Topological Sort
| |
| ------- |
| [0207-course-schedule](https://github.com/SamWraith/DSA-questions/tree/master/0207-course-schedule) |
| [0210-course-schedule-ii](https://github.com/SamWraith/DSA-questions/tree/master/0210-course-schedule-ii) |
| [1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph](https://github.com/SamWraith/DSA-questions/tree/master/1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph) |
| [2472-build-a-matrix-with-conditions](https://github.com/SamWraith/DSA-questions/tree/master/2472-build-a-matrix-with-conditions) |
## Union Find
| |
| ------- |
| [0801-is-graph-bipartite](https://github.com/SamWraith/DSA-questions/tree/master/0801-is-graph-bipartite) |
| [0984-most-stones-removed-with-same-row-or-column](https://github.com/SamWraith/DSA-questions/tree/master/0984-most-stones-removed-with-same-row-or-column) |
| [0999-regions-cut-by-slashes](https://github.com/SamWraith/DSA-questions/tree/master/0999-regions-cut-by-slashes) |
| [1701-remove-max-number-of-edges-to-keep-graph-fully-traversable](https://github.com/SamWraith/DSA-questions/tree/master/1701-remove-max-number-of-edges-to-keep-graph-fully-traversable) |
| [2035-count-sub-islands](https://github.com/SamWraith/DSA-questions/tree/master/2035-count-sub-islands) |
## Array
| |
| ------- |
| [0004-median-of-two-sorted-arrays](https://github.com/SamWraith/DSA-questions/tree/master/0004-median-of-two-sorted-arrays) |
| [0033-search-in-rotated-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0033-search-in-rotated-sorted-array) |
| [0034-find-first-and-last-position-of-element-in-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0034-find-first-and-last-position-of-element-in-sorted-array) |
| [0035-search-insert-position](https://github.com/SamWraith/DSA-questions/tree/master/0035-search-insert-position) |
| [0037-sudoku-solver](https://github.com/SamWraith/DSA-questions/tree/master/0037-sudoku-solver) |
| [0039-combination-sum](https://github.com/SamWraith/DSA-questions/tree/master/0039-combination-sum) |
| [0040-combination-sum-ii](https://github.com/SamWraith/DSA-questions/tree/master/0040-combination-sum-ii) |
| [0046-permutations](https://github.com/SamWraith/DSA-questions/tree/master/0046-permutations) |
| [0051-n-queens](https://github.com/SamWraith/DSA-questions/tree/master/0051-n-queens) |
| [0063-unique-paths-ii](https://github.com/SamWraith/DSA-questions/tree/master/0063-unique-paths-ii) |
| [0064-minimum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0064-minimum-path-sum) |
| [0074-search-a-2d-matrix](https://github.com/SamWraith/DSA-questions/tree/master/0074-search-a-2d-matrix) |
| [0081-search-in-rotated-sorted-array-ii](https://github.com/SamWraith/DSA-questions/tree/master/0081-search-in-rotated-sorted-array-ii) |
| [0090-subsets-ii](https://github.com/SamWraith/DSA-questions/tree/master/0090-subsets-ii) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0106-construct-binary-tree-from-inorder-and-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0106-construct-binary-tree-from-inorder-and-postorder-traversal) |
| [0120-triangle](https://github.com/SamWraith/DSA-questions/tree/master/0120-triangle) |
| [0153-find-minimum-in-rotated-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0153-find-minimum-in-rotated-sorted-array) |
| [0162-find-peak-element](https://github.com/SamWraith/DSA-questions/tree/master/0162-find-peak-element) |
| [0179-largest-number](https://github.com/SamWraith/DSA-questions/tree/master/0179-largest-number) |
| [0198-house-robber](https://github.com/SamWraith/DSA-questions/tree/master/0198-house-robber) |
| [0213-house-robber-ii](https://github.com/SamWraith/DSA-questions/tree/master/0213-house-robber-ii) |
| [0240-search-a-2d-matrix-ii](https://github.com/SamWraith/DSA-questions/tree/master/0240-search-a-2d-matrix-ii) |
| [0322-coin-change](https://github.com/SamWraith/DSA-questions/tree/master/0322-coin-change) |
| [0350-intersection-of-two-arrays-ii](https://github.com/SamWraith/DSA-questions/tree/master/0350-intersection-of-two-arrays-ii) |
| [0410-split-array-largest-sum](https://github.com/SamWraith/DSA-questions/tree/master/0410-split-array-largest-sum) |
| [0416-partition-equal-subset-sum](https://github.com/SamWraith/DSA-questions/tree/master/0416-partition-equal-subset-sum) |
| [0455-assign-cookies](https://github.com/SamWraith/DSA-questions/tree/master/0455-assign-cookies) |
| [0494-target-sum](https://github.com/SamWraith/DSA-questions/tree/master/0494-target-sum) |
| [0518-coin-change-ii](https://github.com/SamWraith/DSA-questions/tree/master/0518-coin-change-ii) |
| [0539-minimum-time-difference](https://github.com/SamWraith/DSA-questions/tree/master/0539-minimum-time-difference) |
| [0540-single-element-in-a-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0540-single-element-in-a-sorted-array) |
| [0624-maximum-distance-in-arrays](https://github.com/SamWraith/DSA-questions/tree/master/0624-maximum-distance-in-arrays) |
| [0632-smallest-range-covering-elements-from-k-lists](https://github.com/SamWraith/DSA-questions/tree/master/0632-smallest-range-covering-elements-from-k-lists) |
| [0719-find-k-th-smallest-pair-distance](https://github.com/SamWraith/DSA-questions/tree/master/0719-find-k-th-smallest-pair-distance) |
| [0729-my-calendar-i](https://github.com/SamWraith/DSA-questions/tree/master/0729-my-calendar-i) |
| [0731-my-calendar-ii](https://github.com/SamWraith/DSA-questions/tree/master/0731-my-calendar-ii) |
| [0787-sliding-puzzle](https://github.com/SamWraith/DSA-questions/tree/master/0787-sliding-puzzle) |
| [0859-design-circular-deque](https://github.com/SamWraith/DSA-questions/tree/master/0859-design-circular-deque) |
| [0870-magic-squares-in-grid](https://github.com/SamWraith/DSA-questions/tree/master/0870-magic-squares-in-grid) |
| [0890-lemonade-change](https://github.com/SamWraith/DSA-questions/tree/master/0890-lemonade-change) |
| [0906-walking-robot-simulation](https://github.com/SamWraith/DSA-questions/tree/master/0906-walking-robot-simulation) |
| [0907-koko-eating-bananas](https://github.com/SamWraith/DSA-questions/tree/master/0907-koko-eating-bananas) |
| [0921-spiral-matrix-iii](https://github.com/SamWraith/DSA-questions/tree/master/0921-spiral-matrix-iii) |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
| [0967-minimum-falling-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0967-minimum-falling-path-sum) |
| [0999-regions-cut-by-slashes](https://github.com/SamWraith/DSA-questions/tree/master/0999-regions-cut-by-slashes) |
| [1002-maximum-width-ramp](https://github.com/SamWraith/DSA-questions/tree/master/1002-maximum-width-ramp) |
| [1036-rotting-oranges](https://github.com/SamWraith/DSA-questions/tree/master/1036-rotting-oranges) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [1056-capacity-to-ship-packages-within-d-days](https://github.com/SamWraith/DSA-questions/tree/master/1056-capacity-to-ship-packages-within-d-days) |
| [1147-flip-columns-for-maximum-number-of-equal-rows](https://github.com/SamWraith/DSA-questions/tree/master/1147-flip-columns-for-maximum-number-of-equal-rows) |
| [1196-filling-bookcase-shelves](https://github.com/SamWraith/DSA-questions/tree/master/1196-filling-bookcase-shelves) |
| [1207-delete-nodes-and-return-forest](https://github.com/SamWraith/DSA-questions/tree/master/1207-delete-nodes-and-return-forest) |
| [1240-stone-game-ii](https://github.com/SamWraith/DSA-questions/tree/master/1240-stone-game-ii) |
| [1256-rank-transform-of-an-array](https://github.com/SamWraith/DSA-questions/tree/master/1256-rank-transform-of-an-array) |
| [1293-three-consecutive-odds](https://github.com/SamWraith/DSA-questions/tree/master/1293-three-consecutive-odds) |
| [1325-path-with-maximum-probability](https://github.com/SamWraith/DSA-questions/tree/master/1325-path-with-maximum-probability) |
| [1333-sort-the-jumbled-numbers](https://github.com/SamWraith/DSA-questions/tree/master/1333-sort-the-jumbled-numbers) |
| [1350-remove-sub-folders-from-the-filesystem](https://github.com/SamWraith/DSA-questions/tree/master/1350-remove-sub-folders-from-the-filesystem) |
| [1402-count-square-submatrices-with-all-ones](https://github.com/SamWraith/DSA-questions/tree/master/1402-count-square-submatrices-with-all-ones) |
| [1408-find-the-smallest-divisor-given-a-threshold](https://github.com/SamWraith/DSA-questions/tree/master/1408-find-the-smallest-divisor-given-a-threshold) |
| [1435-xor-queries-of-a-subarray](https://github.com/SamWraith/DSA-questions/tree/master/1435-xor-queries-of-a-subarray) |
| [1468-check-if-n-and-its-double-exist](https://github.com/SamWraith/DSA-questions/tree/master/1468-check-if-n-and-its-double-exist) |
| [1496-lucky-numbers-in-a-matrix](https://github.com/SamWraith/DSA-questions/tree/master/1496-lucky-numbers-in-a-matrix) |
| [1497-design-a-stack-with-increment-operation](https://github.com/SamWraith/DSA-questions/tree/master/1497-design-a-stack-with-increment-operation) |
| [1511-count-number-of-teams](https://github.com/SamWraith/DSA-questions/tree/master/1511-count-number-of-teams) |
| [1556-make-two-arrays-equal-by-reversing-subarrays](https://github.com/SamWraith/DSA-questions/tree/master/1556-make-two-arrays-equal-by-reversing-subarrays) |
| [1605-minimum-number-of-days-to-make-m-bouquets](https://github.com/SamWraith/DSA-questions/tree/master/1605-minimum-number-of-days-to-make-m-bouquets) |
| [1615-range-sum-of-sorted-subarray-sums](https://github.com/SamWraith/DSA-questions/tree/master/1615-range-sum-of-sorted-subarray-sums) |
| [1616-minimum-difference-between-largest-and-smallest-value-in-three-moves](https://github.com/SamWraith/DSA-questions/tree/master/1616-minimum-difference-between-largest-and-smallest-value-in-three-moves) |
| [1620-check-if-array-pairs-are-divisible-by-k](https://github.com/SamWraith/DSA-questions/tree/master/1620-check-if-array-pairs-are-divisible-by-k) |
| [1646-kth-missing-positive-number](https://github.com/SamWraith/DSA-questions/tree/master/1646-kth-missing-positive-number) |
| [1691-minimum-number-of-days-to-disconnect-island](https://github.com/SamWraith/DSA-questions/tree/master/1691-minimum-number-of-days-to-disconnect-island) |
| [1694-make-sum-divisible-by-p](https://github.com/SamWraith/DSA-questions/tree/master/1694-make-sum-divisible-by-p) |
| [1711-find-valid-matrix-given-row-and-column-sums](https://github.com/SamWraith/DSA-questions/tree/master/1711-find-valid-matrix-given-row-and-column-sums) |
| [1720-crawler-log-folder](https://github.com/SamWraith/DSA-questions/tree/master/1720-crawler-log-folder) |
| [1741-sort-array-by-increasing-frequency](https://github.com/SamWraith/DSA-questions/tree/master/1741-sort-array-by-increasing-frequency) |
| [1755-defuse-the-bomb](https://github.com/SamWraith/DSA-questions/tree/master/1755-defuse-the-bomb) |
| [1766-minimum-number-of-removals-to-make-mountain-array](https://github.com/SamWraith/DSA-questions/tree/master/1766-minimum-number-of-removals-to-make-mountain-array) |
| [1786-count-the-number-of-consistent-strings](https://github.com/SamWraith/DSA-questions/tree/master/1786-count-the-number-of-consistent-strings) |
| [1803-average-waiting-time](https://github.com/SamWraith/DSA-questions/tree/master/1803-average-waiting-time) |
| [1923-sentence-similarity-iii](https://github.com/SamWraith/DSA-questions/tree/master/1923-sentence-similarity-iii) |
| [1940-maximum-xor-for-each-query](https://github.com/SamWraith/DSA-questions/tree/master/1940-maximum-xor-for-each-query) |
| [1951-find-the-winner-of-the-circular-game](https://github.com/SamWraith/DSA-questions/tree/master/1951-find-the-winner-of-the-circular-game) |
| [1972-rotating-the-box](https://github.com/SamWraith/DSA-questions/tree/master/1972-rotating-the-box) |
| [2006-find-the-student-that-will-replace-the-chalk](https://github.com/SamWraith/DSA-questions/tree/master/2006-find-the-student-that-will-replace-the-chalk) |
| [2035-count-sub-islands](https://github.com/SamWraith/DSA-questions/tree/master/2035-count-sub-islands) |
| [2047-find-a-peak-element-ii](https://github.com/SamWraith/DSA-questions/tree/master/2047-find-a-peak-element-ii) |
| [2054-the-number-of-the-smallest-unoccupied-chair](https://github.com/SamWraith/DSA-questions/tree/master/2054-the-number-of-the-smallest-unoccupied-chair) |
| [2067-maximum-number-of-points-with-cost](https://github.com/SamWraith/DSA-questions/tree/master/2067-maximum-number-of-points-with-cost) |
| [2089-maximum-matrix-sum](https://github.com/SamWraith/DSA-questions/tree/master/2089-maximum-matrix-sum) |
| [2132-convert-1d-array-into-2d-array](https://github.com/SamWraith/DSA-questions/tree/master/2132-convert-1d-array-into-2d-array) |
| [2155-find-missing-observations](https://github.com/SamWraith/DSA-questions/tree/master/2155-find-missing-observations) |
| [2163-kth-distinct-string-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2163-kth-distinct-string-in-an-array) |
| [2170-count-number-of-maximum-bitwise-or-subsets](https://github.com/SamWraith/DSA-questions/tree/master/2170-count-number-of-maximum-bitwise-or-subsets) |
| [2179-most-beautiful-item-for-each-query](https://github.com/SamWraith/DSA-questions/tree/master/2179-most-beautiful-item-for-each-query) |
| [2188-minimized-maximum-of-products-distributed-to-any-store](https://github.com/SamWraith/DSA-questions/tree/master/2188-minimized-maximum-of-products-distributed-to-any-store) |
| [2232-adding-spaces-to-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2232-adding-spaces-to-a-string) |
| [2255-minimum-swaps-to-group-all-1s-together-ii](https://github.com/SamWraith/DSA-questions/tree/master/2255-minimum-swaps-to-group-all-1s-together-ii) |
| [2306-create-binary-tree-from-descriptions](https://github.com/SamWraith/DSA-questions/tree/master/2306-create-binary-tree-from-descriptions) |
| [2343-count-unguarded-cells-in-the-grid](https://github.com/SamWraith/DSA-questions/tree/master/2343-count-unguarded-cells-in-the-grid) |
| [2356-largest-combination-with-bitwise-and-greater-than-zero](https://github.com/SamWraith/DSA-questions/tree/master/2356-largest-combination-with-bitwise-and-greater-than-zero) |
| [2375-minimum-obstacle-removal-to-reach-corner](https://github.com/SamWraith/DSA-questions/tree/master/2375-minimum-obstacle-removal-to-reach-corner) |
| [2411-spiral-matrix-iv](https://github.com/SamWraith/DSA-questions/tree/master/2411-spiral-matrix-iv) |
| [2472-build-a-matrix-with-conditions](https://github.com/SamWraith/DSA-questions/tree/master/2472-build-a-matrix-with-conditions) |
| [2488-divide-intervals-into-minimum-number-of-groups](https://github.com/SamWraith/DSA-questions/tree/master/2488-divide-intervals-into-minimum-number-of-groups) |
| [2494-sum-of-prefix-scores-of-strings](https://github.com/SamWraith/DSA-questions/tree/master/2494-sum-of-prefix-scores-of-strings) |
| [2502-sort-the-people](https://github.com/SamWraith/DSA-questions/tree/master/2502-sort-the-people) |
| [2503-longest-subarray-with-maximum-bitwise-and](https://github.com/SamWraith/DSA-questions/tree/master/2503-longest-subarray-with-maximum-bitwise-and) |
| [2545-height-of-binary-tree-after-subtree-removal-queries](https://github.com/SamWraith/DSA-questions/tree/master/2545-height-of-binary-tree-after-subtree-removal-queries) |
| [2552-maximum-sum-of-distinct-subarrays-with-length-k](https://github.com/SamWraith/DSA-questions/tree/master/2552-maximum-sum-of-distinct-subarrays-with-length-k) |
| [2554-minimum-total-distance-traveled](https://github.com/SamWraith/DSA-questions/tree/master/2554-minimum-total-distance-traveled) |
| [2581-divide-players-into-teams-of-equal-skill](https://github.com/SamWraith/DSA-questions/tree/master/2581-divide-players-into-teams-of-equal-skill) |
| [2586-longest-square-streak-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2586-longest-square-streak-in-an-array) |
| [2616-maximal-score-after-applying-k-operations](https://github.com/SamWraith/DSA-questions/tree/master/2616-maximal-score-after-applying-k-operations) |
| [2699-count-the-number-of-fair-pairs](https://github.com/SamWraith/DSA-questions/tree/master/2699-count-the-number-of-fair-pairs) |
| [2711-minimum-time-to-visit-a-cell-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2711-minimum-time-to-visit-a-cell-in-a-grid) |
| [2716-prime-subtraction-operation](https://github.com/SamWraith/DSA-questions/tree/master/2716-prime-subtraction-operation) |
| [2727-number-of-senior-citizens](https://github.com/SamWraith/DSA-questions/tree/master/2727-number-of-senior-citizens) |
| [2755-extra-characters-in-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2755-extra-characters-in-a-string) |
| [2794-maximum-number-of-moves-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2794-maximum-number-of-moves-in-a-grid) |
| [2846-robot-collisions](https://github.com/SamWraith/DSA-questions/tree/master/2846-robot-collisions) |
| [3235-minimum-cost-to-convert-string-i](https://github.com/SamWraith/DSA-questions/tree/master/3235-minimum-cost-to-convert-string-i) |
| [3291-find-if-array-can-be-sorted](https://github.com/SamWraith/DSA-questions/tree/master/3291-find-if-array-can-be-sorted) |
| [3329-find-the-length-of-the-longest-common-prefix](https://github.com/SamWraith/DSA-questions/tree/master/3329-find-the-length-of-the-longest-common-prefix) |
| [3380-shortest-subarray-with-or-at-least-k-ii](https://github.com/SamWraith/DSA-questions/tree/master/3380-shortest-subarray-with-or-at-least-k-ii) |
| [3501-delete-nodes-from-linked-list-present-in-array](https://github.com/SamWraith/DSA-questions/tree/master/3501-delete-nodes-from-linked-list-present-in-array) |
| [3517-shortest-distance-after-road-addition-queries-i](https://github.com/SamWraith/DSA-questions/tree/master/3517-shortest-distance-after-road-addition-queries-i) |
| [3522-find-the-power-of-k-size-subarrays-i](https://github.com/SamWraith/DSA-questions/tree/master/3522-find-the-power-of-k-size-subarrays-i) |
## Hash Table
| |
| ------- |
| [0037-sudoku-solver](https://github.com/SamWraith/DSA-questions/tree/master/0037-sudoku-solver) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0106-construct-binary-tree-from-inorder-and-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0106-construct-binary-tree-from-inorder-and-postorder-traversal) |
| [0264-ugly-number-ii](https://github.com/SamWraith/DSA-questions/tree/master/0264-ugly-number-ii) |
| [0350-intersection-of-two-arrays-ii](https://github.com/SamWraith/DSA-questions/tree/master/0350-intersection-of-two-arrays-ii) |
| [0432-all-oone-data-structure](https://github.com/SamWraith/DSA-questions/tree/master/0432-all-oone-data-structure) |
| [0567-permutation-in-string](https://github.com/SamWraith/DSA-questions/tree/master/0567-permutation-in-string) |
| [0632-smallest-range-covering-elements-from-k-lists](https://github.com/SamWraith/DSA-questions/tree/master/0632-smallest-range-covering-elements-from-k-lists) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0726-number-of-atoms](https://github.com/SamWraith/DSA-questions/tree/master/0726-number-of-atoms) |
| [0870-magic-squares-in-grid](https://github.com/SamWraith/DSA-questions/tree/master/0870-magic-squares-in-grid) |
| [0893-all-nodes-distance-k-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0893-all-nodes-distance-k-in-binary-tree) |
| [0906-walking-robot-simulation](https://github.com/SamWraith/DSA-questions/tree/master/0906-walking-robot-simulation) |
| [0984-most-stones-removed-with-same-row-or-column](https://github.com/SamWraith/DSA-questions/tree/master/0984-most-stones-removed-with-same-row-or-column) |
| [0999-regions-cut-by-slashes](https://github.com/SamWraith/DSA-questions/tree/master/0999-regions-cut-by-slashes) |
| [1029-vertical-order-traversal-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1029-vertical-order-traversal-of-a-binary-tree) |
| [1147-flip-columns-for-maximum-number-of-equal-rows](https://github.com/SamWraith/DSA-questions/tree/master/1147-flip-columns-for-maximum-number-of-equal-rows) |
| [1207-delete-nodes-and-return-forest](https://github.com/SamWraith/DSA-questions/tree/master/1207-delete-nodes-and-return-forest) |
| [1256-rank-transform-of-an-array](https://github.com/SamWraith/DSA-questions/tree/master/1256-rank-transform-of-an-array) |
| [1468-check-if-n-and-its-double-exist](https://github.com/SamWraith/DSA-questions/tree/master/1468-check-if-n-and-its-double-exist) |
| [1473-find-the-longest-substring-containing-vowels-in-even-counts](https://github.com/SamWraith/DSA-questions/tree/master/1473-find-the-longest-substring-containing-vowels-in-even-counts) |
| [1556-make-two-arrays-equal-by-reversing-subarrays](https://github.com/SamWraith/DSA-questions/tree/master/1556-make-two-arrays-equal-by-reversing-subarrays) |
| [1620-check-if-array-pairs-are-divisible-by-k](https://github.com/SamWraith/DSA-questions/tree/master/1620-check-if-array-pairs-are-divisible-by-k) |
| [1694-make-sum-divisible-by-p](https://github.com/SamWraith/DSA-questions/tree/master/1694-make-sum-divisible-by-p) |
| [1715-split-a-string-into-the-max-number-of-unique-substrings](https://github.com/SamWraith/DSA-questions/tree/master/1715-split-a-string-into-the-max-number-of-unique-substrings) |
| [1741-sort-array-by-increasing-frequency](https://github.com/SamWraith/DSA-questions/tree/master/1741-sort-array-by-increasing-frequency) |
| [1786-count-the-number-of-consistent-strings](https://github.com/SamWraith/DSA-questions/tree/master/1786-count-the-number-of-consistent-strings) |
| [2054-the-number-of-the-smallest-unoccupied-chair](https://github.com/SamWraith/DSA-questions/tree/master/2054-the-number-of-the-smallest-unoccupied-chair) |
| [2163-kth-distinct-string-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2163-kth-distinct-string-in-an-array) |
| [2306-create-binary-tree-from-descriptions](https://github.com/SamWraith/DSA-questions/tree/master/2306-create-binary-tree-from-descriptions) |
| [2356-largest-combination-with-bitwise-and-greater-than-zero](https://github.com/SamWraith/DSA-questions/tree/master/2356-largest-combination-with-bitwise-and-greater-than-zero) |
| [2502-sort-the-people](https://github.com/SamWraith/DSA-questions/tree/master/2502-sort-the-people) |
| [2552-maximum-sum-of-distinct-subarrays-with-length-k](https://github.com/SamWraith/DSA-questions/tree/master/2552-maximum-sum-of-distinct-subarrays-with-length-k) |
| [2581-divide-players-into-teams-of-equal-skill](https://github.com/SamWraith/DSA-questions/tree/master/2581-divide-players-into-teams-of-equal-skill) |
| [2586-longest-square-streak-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2586-longest-square-streak-in-an-array) |
| [2599-take-k-of-each-character-from-left-and-right](https://github.com/SamWraith/DSA-questions/tree/master/2599-take-k-of-each-character-from-left-and-right) |
| [2677-cousins-in-binary-tree-ii](https://github.com/SamWraith/DSA-questions/tree/master/2677-cousins-in-binary-tree-ii) |
| [2755-extra-characters-in-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2755-extra-characters-in-a-string) |
| [3276-minimum-number-of-pushes-to-type-word-ii](https://github.com/SamWraith/DSA-questions/tree/master/3276-minimum-number-of-pushes-to-type-word-ii) |
| [3329-find-the-length-of-the-longest-common-prefix](https://github.com/SamWraith/DSA-questions/tree/master/3329-find-the-length-of-the-longest-common-prefix) |
| [3501-delete-nodes-from-linked-list-present-in-array](https://github.com/SamWraith/DSA-questions/tree/master/3501-delete-nodes-from-linked-list-present-in-array) |
## Two Pointers
| |
| ------- |
| [0350-intersection-of-two-arrays-ii](https://github.com/SamWraith/DSA-questions/tree/master/0350-intersection-of-two-arrays-ii) |
| [0455-assign-cookies](https://github.com/SamWraith/DSA-questions/tree/master/0455-assign-cookies) |
| [0567-permutation-in-string](https://github.com/SamWraith/DSA-questions/tree/master/0567-permutation-in-string) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0719-find-k-th-smallest-pair-distance](https://github.com/SamWraith/DSA-questions/tree/master/0719-find-k-th-smallest-pair-distance) |
| [1468-check-if-n-and-its-double-exist](https://github.com/SamWraith/DSA-questions/tree/master/1468-check-if-n-and-its-double-exist) |
| [1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence](https://github.com/SamWraith/DSA-questions/tree/master/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence) |
| [1615-range-sum-of-sorted-subarray-sums](https://github.com/SamWraith/DSA-questions/tree/master/1615-range-sum-of-sorted-subarray-sums) |
| [1923-sentence-similarity-iii](https://github.com/SamWraith/DSA-questions/tree/master/1923-sentence-similarity-iii) |
| [1972-rotating-the-box](https://github.com/SamWraith/DSA-questions/tree/master/1972-rotating-the-box) |
| [2095-minimum-number-of-swaps-to-make-the-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/2095-minimum-number-of-swaps-to-make-the-string-balanced) |
| [2232-adding-spaces-to-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2232-adding-spaces-to-a-string) |
| [2414-move-pieces-to-obtain-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2414-move-pieces-to-obtain-a-string) |
| [2488-divide-intervals-into-minimum-number-of-groups](https://github.com/SamWraith/DSA-questions/tree/master/2488-divide-intervals-into-minimum-number-of-groups) |
| [2581-divide-players-into-teams-of-equal-skill](https://github.com/SamWraith/DSA-questions/tree/master/2581-divide-players-into-teams-of-equal-skill) |
| [2699-count-the-number-of-fair-pairs](https://github.com/SamWraith/DSA-questions/tree/master/2699-count-the-number-of-fair-pairs) |
| [3018-make-string-a-subsequence-using-cyclic-increments](https://github.com/SamWraith/DSA-questions/tree/master/3018-make-string-a-subsequence-using-cyclic-increments) |
| [3195-separate-black-and-white-balls](https://github.com/SamWraith/DSA-questions/tree/master/3195-separate-black-and-white-balls) |
## Binary Search
| |
| ------- |
| [0004-median-of-two-sorted-arrays](https://github.com/SamWraith/DSA-questions/tree/master/0004-median-of-two-sorted-arrays) |
| [0033-search-in-rotated-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0033-search-in-rotated-sorted-array) |
| [0034-find-first-and-last-position-of-element-in-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0034-find-first-and-last-position-of-element-in-sorted-array) |
| [0035-search-insert-position](https://github.com/SamWraith/DSA-questions/tree/master/0035-search-insert-position) |
| [0074-search-a-2d-matrix](https://github.com/SamWraith/DSA-questions/tree/master/0074-search-a-2d-matrix) |
| [0081-search-in-rotated-sorted-array-ii](https://github.com/SamWraith/DSA-questions/tree/master/0081-search-in-rotated-sorted-array-ii) |
| [0153-find-minimum-in-rotated-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0153-find-minimum-in-rotated-sorted-array) |
| [0162-find-peak-element](https://github.com/SamWraith/DSA-questions/tree/master/0162-find-peak-element) |
| [0222-count-complete-tree-nodes](https://github.com/SamWraith/DSA-questions/tree/master/0222-count-complete-tree-nodes) |
| [0240-search-a-2d-matrix-ii](https://github.com/SamWraith/DSA-questions/tree/master/0240-search-a-2d-matrix-ii) |
| [0350-intersection-of-two-arrays-ii](https://github.com/SamWraith/DSA-questions/tree/master/0350-intersection-of-two-arrays-ii) |
| [0410-split-array-largest-sum](https://github.com/SamWraith/DSA-questions/tree/master/0410-split-array-largest-sum) |
| [0540-single-element-in-a-sorted-array](https://github.com/SamWraith/DSA-questions/tree/master/0540-single-element-in-a-sorted-array) |
| [0719-find-k-th-smallest-pair-distance](https://github.com/SamWraith/DSA-questions/tree/master/0719-find-k-th-smallest-pair-distance) |
| [0729-my-calendar-i](https://github.com/SamWraith/DSA-questions/tree/master/0729-my-calendar-i) |
| [0731-my-calendar-ii](https://github.com/SamWraith/DSA-questions/tree/master/0731-my-calendar-ii) |
| [0907-koko-eating-bananas](https://github.com/SamWraith/DSA-questions/tree/master/0907-koko-eating-bananas) |
| [1056-capacity-to-ship-packages-within-d-days](https://github.com/SamWraith/DSA-questions/tree/master/1056-capacity-to-ship-packages-within-d-days) |
| [1408-find-the-smallest-divisor-given-a-threshold](https://github.com/SamWraith/DSA-questions/tree/master/1408-find-the-smallest-divisor-given-a-threshold) |
| [1468-check-if-n-and-its-double-exist](https://github.com/SamWraith/DSA-questions/tree/master/1468-check-if-n-and-its-double-exist) |
| [1605-minimum-number-of-days-to-make-m-bouquets](https://github.com/SamWraith/DSA-questions/tree/master/1605-minimum-number-of-days-to-make-m-bouquets) |
| [1615-range-sum-of-sorted-subarray-sums](https://github.com/SamWraith/DSA-questions/tree/master/1615-range-sum-of-sorted-subarray-sums) |
| [1646-kth-missing-positive-number](https://github.com/SamWraith/DSA-questions/tree/master/1646-kth-missing-positive-number) |
| [1766-minimum-number-of-removals-to-make-mountain-array](https://github.com/SamWraith/DSA-questions/tree/master/1766-minimum-number-of-removals-to-make-mountain-array) |
| [2006-find-the-student-that-will-replace-the-chalk](https://github.com/SamWraith/DSA-questions/tree/master/2006-find-the-student-that-will-replace-the-chalk) |
| [2047-find-a-peak-element-ii](https://github.com/SamWraith/DSA-questions/tree/master/2047-find-a-peak-element-ii) |
| [2179-most-beautiful-item-for-each-query](https://github.com/SamWraith/DSA-questions/tree/master/2179-most-beautiful-item-for-each-query) |
| [2188-minimized-maximum-of-products-distributed-to-any-store](https://github.com/SamWraith/DSA-questions/tree/master/2188-minimized-maximum-of-products-distributed-to-any-store) |
| [2586-longest-square-streak-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2586-longest-square-streak-in-an-array) |
| [2699-count-the-number-of-fair-pairs](https://github.com/SamWraith/DSA-questions/tree/master/2699-count-the-number-of-fair-pairs) |
| [2716-prime-subtraction-operation](https://github.com/SamWraith/DSA-questions/tree/master/2716-prime-subtraction-operation) |
## Linked List
| |
| ------- |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0432-all-oone-data-structure](https://github.com/SamWraith/DSA-questions/tree/master/0432-all-oone-data-structure) |
| [0725-split-linked-list-in-parts](https://github.com/SamWraith/DSA-questions/tree/master/0725-split-linked-list-in-parts) |
| [0859-design-circular-deque](https://github.com/SamWraith/DSA-questions/tree/master/0859-design-circular-deque) |
| [1484-linked-list-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1484-linked-list-in-binary-tree) |
| [2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points](https://github.com/SamWraith/DSA-questions/tree/master/2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points) |
| [2299-merge-nodes-in-between-zeros](https://github.com/SamWraith/DSA-questions/tree/master/2299-merge-nodes-in-between-zeros) |
| [2411-spiral-matrix-iv](https://github.com/SamWraith/DSA-questions/tree/master/2411-spiral-matrix-iv) |
| [2903-insert-greatest-common-divisors-in-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/2903-insert-greatest-common-divisors-in-linked-list) |
| [3501-delete-nodes-from-linked-list-present-in-array](https://github.com/SamWraith/DSA-questions/tree/master/3501-delete-nodes-from-linked-list-present-in-array) |
## Simulation
| |
| ------- |
| [0592-fraction-addition-and-subtraction](https://github.com/SamWraith/DSA-questions/tree/master/0592-fraction-addition-and-subtraction) |
| [0906-walking-robot-simulation](https://github.com/SamWraith/DSA-questions/tree/master/0906-walking-robot-simulation) |
| [0921-spiral-matrix-iii](https://github.com/SamWraith/DSA-questions/tree/master/0921-spiral-matrix-iii) |
| [1642-water-bottles](https://github.com/SamWraith/DSA-questions/tree/master/1642-water-bottles) |
| [1667-find-kth-bit-in-nth-binary-string](https://github.com/SamWraith/DSA-questions/tree/master/1667-find-kth-bit-in-nth-binary-string) |
| [1803-average-waiting-time](https://github.com/SamWraith/DSA-questions/tree/master/1803-average-waiting-time) |
| [1951-find-the-winner-of-the-circular-game](https://github.com/SamWraith/DSA-questions/tree/master/1951-find-the-winner-of-the-circular-game) |
| [2006-find-the-student-that-will-replace-the-chalk](https://github.com/SamWraith/DSA-questions/tree/master/2006-find-the-student-that-will-replace-the-chalk) |
| [2076-sum-of-digits-of-string-after-convert](https://github.com/SamWraith/DSA-questions/tree/master/2076-sum-of-digits-of-string-after-convert) |
| [2132-convert-1d-array-into-2d-array](https://github.com/SamWraith/DSA-questions/tree/master/2132-convert-1d-array-into-2d-array) |
| [2155-find-missing-observations](https://github.com/SamWraith/DSA-questions/tree/master/2155-find-missing-observations) |
| [2232-adding-spaces-to-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2232-adding-spaces-to-a-string) |
| [2299-merge-nodes-in-between-zeros](https://github.com/SamWraith/DSA-questions/tree/master/2299-merge-nodes-in-between-zeros) |
| [2343-count-unguarded-cells-in-the-grid](https://github.com/SamWraith/DSA-questions/tree/master/2343-count-unguarded-cells-in-the-grid) |
| [2411-spiral-matrix-iv](https://github.com/SamWraith/DSA-questions/tree/master/2411-spiral-matrix-iv) |
| [2645-pass-the-pillow](https://github.com/SamWraith/DSA-questions/tree/master/2645-pass-the-pillow) |
| [2800-minimum-string-length-after-removing-substrings](https://github.com/SamWraith/DSA-questions/tree/master/2800-minimum-string-length-after-removing-substrings) |
| [2846-robot-collisions](https://github.com/SamWraith/DSA-questions/tree/master/2846-robot-collisions) |
## Math
| |
| ------- |
| [0062-unique-paths](https://github.com/SamWraith/DSA-questions/tree/master/0062-unique-paths) |
| [0070-climbing-stairs](https://github.com/SamWraith/DSA-questions/tree/master/0070-climbing-stairs) |
| [0241-different-ways-to-add-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/0241-different-ways-to-add-parentheses) |
| [0264-ugly-number-ii](https://github.com/SamWraith/DSA-questions/tree/master/0264-ugly-number-ii) |
| [0273-integer-to-english-words](https://github.com/SamWraith/DSA-questions/tree/master/0273-integer-to-english-words) |
| [0539-minimum-time-difference](https://github.com/SamWraith/DSA-questions/tree/master/0539-minimum-time-difference) |
| [0564-find-the-closest-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/0564-find-the-closest-palindrome) |
| [0592-fraction-addition-and-subtraction](https://github.com/SamWraith/DSA-questions/tree/master/0592-fraction-addition-and-subtraction) |
| [0650-2-keys-keyboard](https://github.com/SamWraith/DSA-questions/tree/master/0650-2-keys-keyboard) |
| [0670-maximum-swap](https://github.com/SamWraith/DSA-questions/tree/master/0670-maximum-swap) |
| [0870-magic-squares-in-grid](https://github.com/SamWraith/DSA-questions/tree/master/0870-magic-squares-in-grid) |
| [1240-stone-game-ii](https://github.com/SamWraith/DSA-questions/tree/master/1240-stone-game-ii) |
| [1642-water-bottles](https://github.com/SamWraith/DSA-questions/tree/master/1642-water-bottles) |
| [1951-find-the-winner-of-the-circular-game](https://github.com/SamWraith/DSA-questions/tree/master/1951-find-the-winner-of-the-circular-game) |
| [2155-find-missing-observations](https://github.com/SamWraith/DSA-questions/tree/master/2155-find-missing-observations) |
| [2645-pass-the-pillow](https://github.com/SamWraith/DSA-questions/tree/master/2645-pass-the-pillow) |
| [2716-prime-subtraction-operation](https://github.com/SamWraith/DSA-questions/tree/master/2716-prime-subtraction-operation) |
| [2903-insert-greatest-common-divisors-in-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/2903-insert-greatest-common-divisors-in-linked-list) |
## Recursion
| |
| ------- |
| [0241-different-ways-to-add-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/0241-different-ways-to-add-parentheses) |
| [0273-integer-to-english-words](https://github.com/SamWraith/DSA-questions/tree/master/0273-integer-to-english-words) |
| [1667-find-kth-bit-in-nth-binary-string](https://github.com/SamWraith/DSA-questions/tree/master/1667-find-kth-bit-in-nth-binary-string) |
| [1951-find-the-winner-of-the-circular-game](https://github.com/SamWraith/DSA-questions/tree/master/1951-find-the-winner-of-the-circular-game) |
## Queue
| |
| ------- |
| [0859-design-circular-deque](https://github.com/SamWraith/DSA-questions/tree/master/0859-design-circular-deque) |
| [1951-find-the-winner-of-the-circular-game](https://github.com/SamWraith/DSA-questions/tree/master/1951-find-the-winner-of-the-circular-game) |
## String
| |
| ------- |
| [0179-largest-number](https://github.com/SamWraith/DSA-questions/tree/master/0179-largest-number) |
| [0214-shortest-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/0214-shortest-palindrome) |
| [0241-different-ways-to-add-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/0241-different-ways-to-add-parentheses) |
| [0273-integer-to-english-words](https://github.com/SamWraith/DSA-questions/tree/master/0273-integer-to-english-words) |
| [0297-serialize-and-deserialize-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0297-serialize-and-deserialize-binary-tree) |
| [0516-longest-palindromic-subsequence](https://github.com/SamWraith/DSA-questions/tree/master/0516-longest-palindromic-subsequence) |
| [0539-minimum-time-difference](https://github.com/SamWraith/DSA-questions/tree/master/0539-minimum-time-difference) |
| [0564-find-the-closest-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/0564-find-the-closest-palindrome) |
| [0567-permutation-in-string](https://github.com/SamWraith/DSA-questions/tree/master/0567-permutation-in-string) |
| [0583-delete-operation-for-two-strings](https://github.com/SamWraith/DSA-questions/tree/master/0583-delete-operation-for-two-strings) |
| [0592-fraction-addition-and-subtraction](https://github.com/SamWraith/DSA-questions/tree/master/0592-fraction-addition-and-subtraction) |
| [0664-strange-printer](https://github.com/SamWraith/DSA-questions/tree/master/0664-strange-printer) |
| [0726-number-of-atoms](https://github.com/SamWraith/DSA-questions/tree/master/0726-number-of-atoms) |
| [0812-rotate-string](https://github.com/SamWraith/DSA-questions/tree/master/0812-rotate-string) |
| [0957-minimum-add-to-make-parentheses-valid](https://github.com/SamWraith/DSA-questions/tree/master/0957-minimum-add-to-make-parentheses-valid) |
| [1170-shortest-common-supersequence](https://github.com/SamWraith/DSA-questions/tree/master/1170-shortest-common-supersequence) |
| [1250-longest-common-subsequence](https://github.com/SamWraith/DSA-questions/tree/master/1250-longest-common-subsequence) |
| [1298-reverse-substrings-between-each-pair-of-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/1298-reverse-substrings-between-each-pair-of-parentheses) |
| [1302-delete-characters-to-make-fancy-string](https://github.com/SamWraith/DSA-questions/tree/master/1302-delete-characters-to-make-fancy-string) |
| [1304-longest-happy-string](https://github.com/SamWraith/DSA-questions/tree/master/1304-longest-happy-string) |
| [1350-remove-sub-folders-from-the-filesystem](https://github.com/SamWraith/DSA-questions/tree/master/1350-remove-sub-folders-from-the-filesystem) |
| [1437-minimum-insertion-steps-to-make-a-string-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/1437-minimum-insertion-steps-to-make-a-string-palindrome) |
| [1473-find-the-longest-substring-containing-vowels-in-even-counts](https://github.com/SamWraith/DSA-questions/tree/master/1473-find-the-longest-substring-containing-vowels-in-even-counts) |
| [1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence](https://github.com/SamWraith/DSA-questions/tree/master/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence) |
| [1667-find-kth-bit-in-nth-binary-string](https://github.com/SamWraith/DSA-questions/tree/master/1667-find-kth-bit-in-nth-binary-string) |
| [1715-split-a-string-into-the-max-number-of-unique-substrings](https://github.com/SamWraith/DSA-questions/tree/master/1715-split-a-string-into-the-max-number-of-unique-substrings) |
| [1720-crawler-log-folder](https://github.com/SamWraith/DSA-questions/tree/master/1720-crawler-log-folder) |
| [1756-minimum-deletions-to-make-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/1756-minimum-deletions-to-make-string-balanced) |
| [1786-count-the-number-of-consistent-strings](https://github.com/SamWraith/DSA-questions/tree/master/1786-count-the-number-of-consistent-strings) |
| [1818-maximum-score-from-removing-substrings](https://github.com/SamWraith/DSA-questions/tree/master/1818-maximum-score-from-removing-substrings) |
| [1923-sentence-similarity-iii](https://github.com/SamWraith/DSA-questions/tree/master/1923-sentence-similarity-iii) |
| [2076-sum-of-digits-of-string-after-convert](https://github.com/SamWraith/DSA-questions/tree/master/2076-sum-of-digits-of-string-after-convert) |
| [2095-minimum-number-of-swaps-to-make-the-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/2095-minimum-number-of-swaps-to-make-the-string-balanced) |
| [2163-kth-distinct-string-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2163-kth-distinct-string-in-an-array) |
| [2217-step-by-step-directions-from-a-binary-tree-node-to-another](https://github.com/SamWraith/DSA-questions/tree/master/2217-step-by-step-directions-from-a-binary-tree-node-to-another) |
| [2232-adding-spaces-to-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2232-adding-spaces-to-a-string) |
| [2414-move-pieces-to-obtain-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2414-move-pieces-to-obtain-a-string) |
| [2494-sum-of-prefix-scores-of-strings](https://github.com/SamWraith/DSA-questions/tree/master/2494-sum-of-prefix-scores-of-strings) |
| [2502-sort-the-people](https://github.com/SamWraith/DSA-questions/tree/master/2502-sort-the-people) |
| [2580-circular-sentence](https://github.com/SamWraith/DSA-questions/tree/master/2580-circular-sentence) |
| [2599-take-k-of-each-character-from-left-and-right](https://github.com/SamWraith/DSA-questions/tree/master/2599-take-k-of-each-character-from-left-and-right) |
| [2727-number-of-senior-citizens](https://github.com/SamWraith/DSA-questions/tree/master/2727-number-of-senior-citizens) |
| [2755-extra-characters-in-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2755-extra-characters-in-a-string) |
| [2800-minimum-string-length-after-removing-substrings](https://github.com/SamWraith/DSA-questions/tree/master/2800-minimum-string-length-after-removing-substrings) |
| [3018-make-string-a-subsequence-using-cyclic-increments](https://github.com/SamWraith/DSA-questions/tree/master/3018-make-string-a-subsequence-using-cyclic-increments) |
| [3174-minimum-number-of-changes-to-make-binary-string-beautiful](https://github.com/SamWraith/DSA-questions/tree/master/3174-minimum-number-of-changes-to-make-binary-string-beautiful) |
| [3195-separate-black-and-white-balls](https://github.com/SamWraith/DSA-questions/tree/master/3195-separate-black-and-white-balls) |
| [3235-minimum-cost-to-convert-string-i](https://github.com/SamWraith/DSA-questions/tree/master/3235-minimum-cost-to-convert-string-i) |
| [3276-minimum-number-of-pushes-to-type-word-ii](https://github.com/SamWraith/DSA-questions/tree/master/3276-minimum-number-of-pushes-to-type-word-ii) |
| [3329-find-the-length-of-the-longest-common-prefix](https://github.com/SamWraith/DSA-questions/tree/master/3329-find-the-length-of-the-longest-common-prefix) |
| [3451-string-compression-iii](https://github.com/SamWraith/DSA-questions/tree/master/3451-string-compression-iii) |
| [3468-find-the-encrypted-string](https://github.com/SamWraith/DSA-questions/tree/master/3468-find-the-encrypted-string) |
## Stack
| |
| ------- |
| [0094-binary-tree-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0094-binary-tree-inorder-traversal) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0144-binary-tree-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0145-binary-tree-postorder-traversal) |
| [0173-binary-search-tree-iterator](https://github.com/SamWraith/DSA-questions/tree/master/0173-binary-search-tree-iterator) |
| [0726-number-of-atoms](https://github.com/SamWraith/DSA-questions/tree/master/0726-number-of-atoms) |
| [0776-n-ary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0776-n-ary-tree-postorder-traversal) |
| [0957-minimum-add-to-make-parentheses-valid](https://github.com/SamWraith/DSA-questions/tree/master/0957-minimum-add-to-make-parentheses-valid) |
| [1002-maximum-width-ramp](https://github.com/SamWraith/DSA-questions/tree/master/1002-maximum-width-ramp) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [1298-reverse-substrings-between-each-pair-of-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/1298-reverse-substrings-between-each-pair-of-parentheses) |
| [1497-design-a-stack-with-increment-operation](https://github.com/SamWraith/DSA-questions/tree/master/1497-design-a-stack-with-increment-operation) |
| [1720-crawler-log-folder](https://github.com/SamWraith/DSA-questions/tree/master/1720-crawler-log-folder) |
| [1756-minimum-deletions-to-make-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/1756-minimum-deletions-to-make-string-balanced) |
| [1818-maximum-score-from-removing-substrings](https://github.com/SamWraith/DSA-questions/tree/master/1818-maximum-score-from-removing-substrings) |
| [2095-minimum-number-of-swaps-to-make-the-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/2095-minimum-number-of-swaps-to-make-the-string-balanced) |
| [2800-minimum-string-length-after-removing-substrings](https://github.com/SamWraith/DSA-questions/tree/master/2800-minimum-string-length-after-removing-substrings) |
| [2846-robot-collisions](https://github.com/SamWraith/DSA-questions/tree/master/2846-robot-collisions) |
## Tree
| |
| ------- |
| [0094-binary-tree-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0094-binary-tree-inorder-traversal) |
| [0098-validate-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0098-validate-binary-search-tree) |
| [0099-recover-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0099-recover-binary-search-tree) |
| [0100-same-tree](https://github.com/SamWraith/DSA-questions/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/SamWraith/DSA-questions/tree/master/0101-symmetric-tree) |
| [0102-binary-tree-level-order-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0102-binary-tree-level-order-traversal) |
| [0103-binary-tree-zigzag-level-order-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0103-binary-tree-zigzag-level-order-traversal) |
| [0104-maximum-depth-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0104-maximum-depth-of-binary-tree) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0106-construct-binary-tree-from-inorder-and-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0106-construct-binary-tree-from-inorder-and-postorder-traversal) |
| [0110-balanced-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0110-balanced-binary-tree) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0124-binary-tree-maximum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0124-binary-tree-maximum-path-sum) |
| [0144-binary-tree-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0145-binary-tree-postorder-traversal) |
| [0173-binary-search-tree-iterator](https://github.com/SamWraith/DSA-questions/tree/master/0173-binary-search-tree-iterator) |
| [0199-binary-tree-right-side-view](https://github.com/SamWraith/DSA-questions/tree/master/0199-binary-tree-right-side-view) |
| [0222-count-complete-tree-nodes](https://github.com/SamWraith/DSA-questions/tree/master/0222-count-complete-tree-nodes) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0236-lowest-common-ancestor-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0236-lowest-common-ancestor-of-a-binary-tree) |
| [0297-serialize-and-deserialize-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0297-serialize-and-deserialize-binary-tree) |
| [0450-delete-node-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0450-delete-node-in-a-bst) |
| [0543-diameter-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0543-diameter-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0662-maximum-width-of-binary-tree) |
| [0776-n-ary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0776-n-ary-tree-postorder-traversal) |
| [0783-search-in-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0783-search-in-a-binary-search-tree) |
| [0784-insert-into-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0784-insert-into-a-binary-search-tree) |
| [0789-kth-largest-element-in-a-stream](https://github.com/SamWraith/DSA-questions/tree/master/0789-kth-largest-element-in-a-stream) |
| [0893-all-nodes-distance-k-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0893-all-nodes-distance-k-in-binary-tree) |
| [0988-flip-equivalent-binary-trees](https://github.com/SamWraith/DSA-questions/tree/master/0988-flip-equivalent-binary-trees) |
| [1029-vertical-order-traversal-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1029-vertical-order-traversal-of-a-binary-tree) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [1207-delete-nodes-and-return-forest](https://github.com/SamWraith/DSA-questions/tree/master/1207-delete-nodes-and-return-forest) |
| [1484-linked-list-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1484-linked-list-in-binary-tree) |
| [1653-number-of-good-leaf-nodes-pairs](https://github.com/SamWraith/DSA-questions/tree/master/1653-number-of-good-leaf-nodes-pairs) |
| [2217-step-by-step-directions-from-a-binary-tree-node-to-another](https://github.com/SamWraith/DSA-questions/tree/master/2217-step-by-step-directions-from-a-binary-tree-node-to-another) |
| [2306-create-binary-tree-from-descriptions](https://github.com/SamWraith/DSA-questions/tree/master/2306-create-binary-tree-from-descriptions) |
| [2545-height-of-binary-tree-after-subtree-removal-queries](https://github.com/SamWraith/DSA-questions/tree/master/2545-height-of-binary-tree-after-subtree-removal-queries) |
| [2646-kth-largest-sum-in-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/2646-kth-largest-sum-in-a-binary-tree) |
| [2677-cousins-in-binary-tree-ii](https://github.com/SamWraith/DSA-questions/tree/master/2677-cousins-in-binary-tree-ii) |
## Binary Tree
| |
| ------- |
| [0094-binary-tree-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0094-binary-tree-inorder-traversal) |
| [0098-validate-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0098-validate-binary-search-tree) |
| [0099-recover-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0099-recover-binary-search-tree) |
| [0100-same-tree](https://github.com/SamWraith/DSA-questions/tree/master/0100-same-tree) |
| [0101-symmetric-tree](https://github.com/SamWraith/DSA-questions/tree/master/0101-symmetric-tree) |
| [0102-binary-tree-level-order-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0102-binary-tree-level-order-traversal) |
| [0103-binary-tree-zigzag-level-order-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0103-binary-tree-zigzag-level-order-traversal) |
| [0104-maximum-depth-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0104-maximum-depth-of-binary-tree) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0106-construct-binary-tree-from-inorder-and-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0106-construct-binary-tree-from-inorder-and-postorder-traversal) |
| [0110-balanced-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0110-balanced-binary-tree) |
| [0114-flatten-binary-tree-to-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/0114-flatten-binary-tree-to-linked-list) |
| [0124-binary-tree-maximum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0124-binary-tree-maximum-path-sum) |
| [0144-binary-tree-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0144-binary-tree-preorder-traversal) |
| [0145-binary-tree-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0145-binary-tree-postorder-traversal) |
| [0173-binary-search-tree-iterator](https://github.com/SamWraith/DSA-questions/tree/master/0173-binary-search-tree-iterator) |
| [0199-binary-tree-right-side-view](https://github.com/SamWraith/DSA-questions/tree/master/0199-binary-tree-right-side-view) |
| [0222-count-complete-tree-nodes](https://github.com/SamWraith/DSA-questions/tree/master/0222-count-complete-tree-nodes) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0236-lowest-common-ancestor-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0236-lowest-common-ancestor-of-a-binary-tree) |
| [0297-serialize-and-deserialize-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0297-serialize-and-deserialize-binary-tree) |
| [0450-delete-node-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0450-delete-node-in-a-bst) |
| [0543-diameter-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0543-diameter-of-binary-tree) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0662-maximum-width-of-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0662-maximum-width-of-binary-tree) |
| [0783-search-in-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0783-search-in-a-binary-search-tree) |
| [0784-insert-into-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0784-insert-into-a-binary-search-tree) |
| [0789-kth-largest-element-in-a-stream](https://github.com/SamWraith/DSA-questions/tree/master/0789-kth-largest-element-in-a-stream) |
| [0893-all-nodes-distance-k-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0893-all-nodes-distance-k-in-binary-tree) |
| [0988-flip-equivalent-binary-trees](https://github.com/SamWraith/DSA-questions/tree/master/0988-flip-equivalent-binary-trees) |
| [1029-vertical-order-traversal-of-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1029-vertical-order-traversal-of-a-binary-tree) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
| [1207-delete-nodes-and-return-forest](https://github.com/SamWraith/DSA-questions/tree/master/1207-delete-nodes-and-return-forest) |
| [1484-linked-list-in-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/1484-linked-list-in-binary-tree) |
| [1653-number-of-good-leaf-nodes-pairs](https://github.com/SamWraith/DSA-questions/tree/master/1653-number-of-good-leaf-nodes-pairs) |
| [2217-step-by-step-directions-from-a-binary-tree-node-to-another](https://github.com/SamWraith/DSA-questions/tree/master/2217-step-by-step-directions-from-a-binary-tree-node-to-another) |
| [2306-create-binary-tree-from-descriptions](https://github.com/SamWraith/DSA-questions/tree/master/2306-create-binary-tree-from-descriptions) |
| [2545-height-of-binary-tree-after-subtree-removal-queries](https://github.com/SamWraith/DSA-questions/tree/master/2545-height-of-binary-tree-after-subtree-removal-queries) |
| [2646-kth-largest-sum-in-a-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/2646-kth-largest-sum-in-a-binary-tree) |
| [2677-cousins-in-binary-tree-ii](https://github.com/SamWraith/DSA-questions/tree/master/2677-cousins-in-binary-tree-ii) |
## Matrix
| |
| ------- |
| [0037-sudoku-solver](https://github.com/SamWraith/DSA-questions/tree/master/0037-sudoku-solver) |
| [0063-unique-paths-ii](https://github.com/SamWraith/DSA-questions/tree/master/0063-unique-paths-ii) |
| [0064-minimum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0064-minimum-path-sum) |
| [0074-search-a-2d-matrix](https://github.com/SamWraith/DSA-questions/tree/master/0074-search-a-2d-matrix) |
| [0240-search-a-2d-matrix-ii](https://github.com/SamWraith/DSA-questions/tree/master/0240-search-a-2d-matrix-ii) |
| [0787-sliding-puzzle](https://github.com/SamWraith/DSA-questions/tree/master/0787-sliding-puzzle) |
| [0870-magic-squares-in-grid](https://github.com/SamWraith/DSA-questions/tree/master/0870-magic-squares-in-grid) |
| [0921-spiral-matrix-iii](https://github.com/SamWraith/DSA-questions/tree/master/0921-spiral-matrix-iii) |
| [0967-minimum-falling-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0967-minimum-falling-path-sum) |
| [0999-regions-cut-by-slashes](https://github.com/SamWraith/DSA-questions/tree/master/0999-regions-cut-by-slashes) |
| [1036-rotting-oranges](https://github.com/SamWraith/DSA-questions/tree/master/1036-rotting-oranges) |
| [1147-flip-columns-for-maximum-number-of-equal-rows](https://github.com/SamWraith/DSA-questions/tree/master/1147-flip-columns-for-maximum-number-of-equal-rows) |
| [1402-count-square-submatrices-with-all-ones](https://github.com/SamWraith/DSA-questions/tree/master/1402-count-square-submatrices-with-all-ones) |
| [1496-lucky-numbers-in-a-matrix](https://github.com/SamWraith/DSA-questions/tree/master/1496-lucky-numbers-in-a-matrix) |
| [1691-minimum-number-of-days-to-disconnect-island](https://github.com/SamWraith/DSA-questions/tree/master/1691-minimum-number-of-days-to-disconnect-island) |
| [1711-find-valid-matrix-given-row-and-column-sums](https://github.com/SamWraith/DSA-questions/tree/master/1711-find-valid-matrix-given-row-and-column-sums) |
| [1972-rotating-the-box](https://github.com/SamWraith/DSA-questions/tree/master/1972-rotating-the-box) |
| [2035-count-sub-islands](https://github.com/SamWraith/DSA-questions/tree/master/2035-count-sub-islands) |
| [2047-find-a-peak-element-ii](https://github.com/SamWraith/DSA-questions/tree/master/2047-find-a-peak-element-ii) |
| [2089-maximum-matrix-sum](https://github.com/SamWraith/DSA-questions/tree/master/2089-maximum-matrix-sum) |
| [2132-convert-1d-array-into-2d-array](https://github.com/SamWraith/DSA-questions/tree/master/2132-convert-1d-array-into-2d-array) |
| [2343-count-unguarded-cells-in-the-grid](https://github.com/SamWraith/DSA-questions/tree/master/2343-count-unguarded-cells-in-the-grid) |
| [2375-minimum-obstacle-removal-to-reach-corner](https://github.com/SamWraith/DSA-questions/tree/master/2375-minimum-obstacle-removal-to-reach-corner) |
| [2411-spiral-matrix-iv](https://github.com/SamWraith/DSA-questions/tree/master/2411-spiral-matrix-iv) |
| [2472-build-a-matrix-with-conditions](https://github.com/SamWraith/DSA-questions/tree/master/2472-build-a-matrix-with-conditions) |
| [2711-minimum-time-to-visit-a-cell-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2711-minimum-time-to-visit-a-cell-in-a-grid) |
| [2794-maximum-number-of-moves-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2794-maximum-number-of-moves-in-a-grid) |
## Divide and Conquer
| |
| ------- |
| [0004-median-of-two-sorted-arrays](https://github.com/SamWraith/DSA-questions/tree/master/0004-median-of-two-sorted-arrays) |
| [0105-construct-binary-tree-from-preorder-and-inorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0105-construct-binary-tree-from-preorder-and-inorder-traversal) |
| [0106-construct-binary-tree-from-inorder-and-postorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/0106-construct-binary-tree-from-inorder-and-postorder-traversal) |
| [0240-search-a-2d-matrix-ii](https://github.com/SamWraith/DSA-questions/tree/master/0240-search-a-2d-matrix-ii) |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
## Merge Sort
| |
| ------- |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
## Bucket Sort
| |
| ------- |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
## Radix Sort
| |
| ------- |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
## Counting Sort
| |
| ------- |
| [0948-sort-an-array](https://github.com/SamWraith/DSA-questions/tree/master/0948-sort-an-array) |
| [1620-check-if-array-pairs-are-divisible-by-k](https://github.com/SamWraith/DSA-questions/tree/master/1620-check-if-array-pairs-are-divisible-by-k) |
| [1786-count-the-number-of-consistent-strings](https://github.com/SamWraith/DSA-questions/tree/master/1786-count-the-number-of-consistent-strings) |
| [2163-kth-distinct-string-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2163-kth-distinct-string-in-an-array) |
| [2356-largest-combination-with-bitwise-and-greater-than-zero](https://github.com/SamWraith/DSA-questions/tree/master/2356-largest-combination-with-bitwise-and-greater-than-zero) |
| [2494-sum-of-prefix-scores-of-strings](https://github.com/SamWraith/DSA-questions/tree/master/2494-sum-of-prefix-scores-of-strings) |
| [3276-minimum-number-of-pushes-to-type-word-ii](https://github.com/SamWraith/DSA-questions/tree/master/3276-minimum-number-of-pushes-to-type-word-ii) |
## Dynamic Programming
| |
| ------- |
| [0062-unique-paths](https://github.com/SamWraith/DSA-questions/tree/master/0062-unique-paths) |
| [0063-unique-paths-ii](https://github.com/SamWraith/DSA-questions/tree/master/0063-unique-paths-ii) |
| [0064-minimum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0064-minimum-path-sum) |
| [0070-climbing-stairs](https://github.com/SamWraith/DSA-questions/tree/master/0070-climbing-stairs) |
| [0120-triangle](https://github.com/SamWraith/DSA-questions/tree/master/0120-triangle) |
| [0124-binary-tree-maximum-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0124-binary-tree-maximum-path-sum) |
| [0198-house-robber](https://github.com/SamWraith/DSA-questions/tree/master/0198-house-robber) |
| [0213-house-robber-ii](https://github.com/SamWraith/DSA-questions/tree/master/0213-house-robber-ii) |
| [0241-different-ways-to-add-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/0241-different-ways-to-add-parentheses) |
| [0264-ugly-number-ii](https://github.com/SamWraith/DSA-questions/tree/master/0264-ugly-number-ii) |
| [0322-coin-change](https://github.com/SamWraith/DSA-questions/tree/master/0322-coin-change) |
| [0410-split-array-largest-sum](https://github.com/SamWraith/DSA-questions/tree/master/0410-split-array-largest-sum) |
| [0416-partition-equal-subset-sum](https://github.com/SamWraith/DSA-questions/tree/master/0416-partition-equal-subset-sum) |
| [0494-target-sum](https://github.com/SamWraith/DSA-questions/tree/master/0494-target-sum) |
| [0516-longest-palindromic-subsequence](https://github.com/SamWraith/DSA-questions/tree/master/0516-longest-palindromic-subsequence) |
| [0518-coin-change-ii](https://github.com/SamWraith/DSA-questions/tree/master/0518-coin-change-ii) |
| [0583-delete-operation-for-two-strings](https://github.com/SamWraith/DSA-questions/tree/master/0583-delete-operation-for-two-strings) |
| [0650-2-keys-keyboard](https://github.com/SamWraith/DSA-questions/tree/master/0650-2-keys-keyboard) |
| [0664-strange-printer](https://github.com/SamWraith/DSA-questions/tree/master/0664-strange-printer) |
| [0967-minimum-falling-path-sum](https://github.com/SamWraith/DSA-questions/tree/master/0967-minimum-falling-path-sum) |
| [1170-shortest-common-supersequence](https://github.com/SamWraith/DSA-questions/tree/master/1170-shortest-common-supersequence) |
| [1196-filling-bookcase-shelves](https://github.com/SamWraith/DSA-questions/tree/master/1196-filling-bookcase-shelves) |
| [1240-stone-game-ii](https://github.com/SamWraith/DSA-questions/tree/master/1240-stone-game-ii) |
| [1250-longest-common-subsequence](https://github.com/SamWraith/DSA-questions/tree/master/1250-longest-common-subsequence) |
| [1402-count-square-submatrices-with-all-ones](https://github.com/SamWraith/DSA-questions/tree/master/1402-count-square-submatrices-with-all-ones) |
| [1437-minimum-insertion-steps-to-make-a-string-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/1437-minimum-insertion-steps-to-make-a-string-palindrome) |
| [1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance](https://github.com/SamWraith/DSA-questions/tree/master/1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance) |
| [1511-count-number-of-teams](https://github.com/SamWraith/DSA-questions/tree/master/1511-count-number-of-teams) |
| [1756-minimum-deletions-to-make-string-balanced](https://github.com/SamWraith/DSA-questions/tree/master/1756-minimum-deletions-to-make-string-balanced) |
| [1766-minimum-number-of-removals-to-make-mountain-array](https://github.com/SamWraith/DSA-questions/tree/master/1766-minimum-number-of-removals-to-make-mountain-array) |
| [2067-maximum-number-of-points-with-cost](https://github.com/SamWraith/DSA-questions/tree/master/2067-maximum-number-of-points-with-cost) |
| [2554-minimum-total-distance-traveled](https://github.com/SamWraith/DSA-questions/tree/master/2554-minimum-total-distance-traveled) |
| [2586-longest-square-streak-in-an-array](https://github.com/SamWraith/DSA-questions/tree/master/2586-longest-square-streak-in-an-array) |
| [2755-extra-characters-in-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2755-extra-characters-in-a-string) |
| [2794-maximum-number-of-moves-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2794-maximum-number-of-moves-in-a-grid) |
## Shortest Path
| |
| ------- |
| [1325-path-with-maximum-probability](https://github.com/SamWraith/DSA-questions/tree/master/1325-path-with-maximum-probability) |
| [1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance](https://github.com/SamWraith/DSA-questions/tree/master/1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance) |
| [2171-second-minimum-time-to-reach-destination](https://github.com/SamWraith/DSA-questions/tree/master/2171-second-minimum-time-to-reach-destination) |
| [2375-minimum-obstacle-removal-to-reach-corner](https://github.com/SamWraith/DSA-questions/tree/master/2375-minimum-obstacle-removal-to-reach-corner) |
| [2711-minimum-time-to-visit-a-cell-in-a-grid](https://github.com/SamWraith/DSA-questions/tree/master/2711-minimum-time-to-visit-a-cell-in-a-grid) |
| [2803-modify-graph-edge-weights](https://github.com/SamWraith/DSA-questions/tree/master/2803-modify-graph-edge-weights) |
| [3235-minimum-cost-to-convert-string-i](https://github.com/SamWraith/DSA-questions/tree/master/3235-minimum-cost-to-convert-string-i) |
## Binary Indexed Tree
| |
| ------- |
| [1511-count-number-of-teams](https://github.com/SamWraith/DSA-questions/tree/master/1511-count-number-of-teams) |
## Sliding Window
| |
| ------- |
| [0567-permutation-in-string](https://github.com/SamWraith/DSA-questions/tree/master/0567-permutation-in-string) |
| [0632-smallest-range-covering-elements-from-k-lists](https://github.com/SamWraith/DSA-questions/tree/master/0632-smallest-range-covering-elements-from-k-lists) |
| [1755-defuse-the-bomb](https://github.com/SamWraith/DSA-questions/tree/master/1755-defuse-the-bomb) |
| [2255-minimum-swaps-to-group-all-1s-together-ii](https://github.com/SamWraith/DSA-questions/tree/master/2255-minimum-swaps-to-group-all-1s-together-ii) |
| [2552-maximum-sum-of-distinct-subarrays-with-length-k](https://github.com/SamWraith/DSA-questions/tree/master/2552-maximum-sum-of-distinct-subarrays-with-length-k) |
| [2599-take-k-of-each-character-from-left-and-right](https://github.com/SamWraith/DSA-questions/tree/master/2599-take-k-of-each-character-from-left-and-right) |
| [3380-shortest-subarray-with-or-at-least-k-ii](https://github.com/SamWraith/DSA-questions/tree/master/3380-shortest-subarray-with-or-at-least-k-ii) |
| [3522-find-the-power-of-k-size-subarrays-i](https://github.com/SamWraith/DSA-questions/tree/master/3522-find-the-power-of-k-size-subarrays-i) |
## Biconnected Component
| |
| ------- |
| [1300-critical-connections-in-a-network](https://github.com/SamWraith/DSA-questions/tree/master/1300-critical-connections-in-a-network) |
## Prefix Sum
| |
| ------- |
| [0410-split-array-largest-sum](https://github.com/SamWraith/DSA-questions/tree/master/0410-split-array-largest-sum) |
| [0731-my-calendar-ii](https://github.com/SamWraith/DSA-questions/tree/master/0731-my-calendar-ii) |
| [1240-stone-game-ii](https://github.com/SamWraith/DSA-questions/tree/master/1240-stone-game-ii) |
| [1435-xor-queries-of-a-subarray](https://github.com/SamWraith/DSA-questions/tree/master/1435-xor-queries-of-a-subarray) |
| [1473-find-the-longest-substring-containing-vowels-in-even-counts](https://github.com/SamWraith/DSA-questions/tree/master/1473-find-the-longest-substring-containing-vowels-in-even-counts) |
| [1694-make-sum-divisible-by-p](https://github.com/SamWraith/DSA-questions/tree/master/1694-make-sum-divisible-by-p) |
| [1940-maximum-xor-for-each-query](https://github.com/SamWraith/DSA-questions/tree/master/1940-maximum-xor-for-each-query) |
| [2006-find-the-student-that-will-replace-the-chalk](https://github.com/SamWraith/DSA-questions/tree/master/2006-find-the-student-that-will-replace-the-chalk) |
| [2488-divide-intervals-into-minimum-number-of-groups](https://github.com/SamWraith/DSA-questions/tree/master/2488-divide-intervals-into-minimum-number-of-groups) |
## Strongly Connected Component
| |
| ------- |
| [1691-minimum-number-of-days-to-disconnect-island](https://github.com/SamWraith/DSA-questions/tree/master/1691-minimum-number-of-days-to-disconnect-island) |
## Design
| |
| ------- |
| [0173-binary-search-tree-iterator](https://github.com/SamWraith/DSA-questions/tree/master/0173-binary-search-tree-iterator) |
| [0297-serialize-and-deserialize-binary-tree](https://github.com/SamWraith/DSA-questions/tree/master/0297-serialize-and-deserialize-binary-tree) |
| [0432-all-oone-data-structure](https://github.com/SamWraith/DSA-questions/tree/master/0432-all-oone-data-structure) |
| [0729-my-calendar-i](https://github.com/SamWraith/DSA-questions/tree/master/0729-my-calendar-i) |
| [0731-my-calendar-ii](https://github.com/SamWraith/DSA-questions/tree/master/0731-my-calendar-ii) |
| [0789-kth-largest-element-in-a-stream](https://github.com/SamWraith/DSA-questions/tree/master/0789-kth-largest-element-in-a-stream) |
| [0859-design-circular-deque](https://github.com/SamWraith/DSA-questions/tree/master/0859-design-circular-deque) |
| [1497-design-a-stack-with-increment-operation](https://github.com/SamWraith/DSA-questions/tree/master/1497-design-a-stack-with-increment-operation) |
## Binary Search Tree
| |
| ------- |
| [0098-validate-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0098-validate-binary-search-tree) |
| [0099-recover-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0099-recover-binary-search-tree) |
| [0173-binary-search-tree-iterator](https://github.com/SamWraith/DSA-questions/tree/master/0173-binary-search-tree-iterator) |
| [0230-kth-smallest-element-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0230-kth-smallest-element-in-a-bst) |
| [0235-lowest-common-ancestor-of-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0235-lowest-common-ancestor-of-a-binary-search-tree) |
| [0450-delete-node-in-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0450-delete-node-in-a-bst) |
| [0653-two-sum-iv-input-is-a-bst](https://github.com/SamWraith/DSA-questions/tree/master/0653-two-sum-iv-input-is-a-bst) |
| [0783-search-in-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0783-search-in-a-binary-search-tree) |
| [0784-insert-into-a-binary-search-tree](https://github.com/SamWraith/DSA-questions/tree/master/0784-insert-into-a-binary-search-tree) |
| [0789-kth-largest-element-in-a-stream](https://github.com/SamWraith/DSA-questions/tree/master/0789-kth-largest-element-in-a-stream) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
## Data Stream
| |
| ------- |
| [0789-kth-largest-element-in-a-stream](https://github.com/SamWraith/DSA-questions/tree/master/0789-kth-largest-element-in-a-stream) |
## Backtracking
| |
| ------- |
| [0037-sudoku-solver](https://github.com/SamWraith/DSA-questions/tree/master/0037-sudoku-solver) |
| [0039-combination-sum](https://github.com/SamWraith/DSA-questions/tree/master/0039-combination-sum) |
| [0040-combination-sum-ii](https://github.com/SamWraith/DSA-questions/tree/master/0040-combination-sum-ii) |
| [0046-permutations](https://github.com/SamWraith/DSA-questions/tree/master/0046-permutations) |
| [0051-n-queens](https://github.com/SamWraith/DSA-questions/tree/master/0051-n-queens) |
| [0090-subsets-ii](https://github.com/SamWraith/DSA-questions/tree/master/0090-subsets-ii) |
| [0494-target-sum](https://github.com/SamWraith/DSA-questions/tree/master/0494-target-sum) |
| [1715-split-a-string-into-the-max-number-of-unique-substrings](https://github.com/SamWraith/DSA-questions/tree/master/1715-split-a-string-into-the-max-number-of-unique-substrings) |
| [2170-count-number-of-maximum-bitwise-or-subsets](https://github.com/SamWraith/DSA-questions/tree/master/2170-count-number-of-maximum-bitwise-or-subsets) |
## Bit Manipulation
| |
| ------- |
| [0090-subsets-ii](https://github.com/SamWraith/DSA-questions/tree/master/0090-subsets-ii) |
| [0222-count-complete-tree-nodes](https://github.com/SamWraith/DSA-questions/tree/master/0222-count-complete-tree-nodes) |
| [0476-number-complement](https://github.com/SamWraith/DSA-questions/tree/master/0476-number-complement) |
| [1435-xor-queries-of-a-subarray](https://github.com/SamWraith/DSA-questions/tree/master/1435-xor-queries-of-a-subarray) |
| [1473-find-the-longest-substring-containing-vowels-in-even-counts](https://github.com/SamWraith/DSA-questions/tree/master/1473-find-the-longest-substring-containing-vowels-in-even-counts) |
| [1786-count-the-number-of-consistent-strings](https://github.com/SamWraith/DSA-questions/tree/master/1786-count-the-number-of-consistent-strings) |
| [1940-maximum-xor-for-each-query](https://github.com/SamWraith/DSA-questions/tree/master/1940-maximum-xor-for-each-query) |
| [2170-count-number-of-maximum-bitwise-or-subsets](https://github.com/SamWraith/DSA-questions/tree/master/2170-count-number-of-maximum-bitwise-or-subsets) |
| [2323-minimum-bit-flips-to-convert-number](https://github.com/SamWraith/DSA-questions/tree/master/2323-minimum-bit-flips-to-convert-number) |
| [2356-largest-combination-with-bitwise-and-greater-than-zero](https://github.com/SamWraith/DSA-questions/tree/master/2356-largest-combination-with-bitwise-and-greater-than-zero) |
| [2503-longest-subarray-with-maximum-bitwise-and](https://github.com/SamWraith/DSA-questions/tree/master/2503-longest-subarray-with-maximum-bitwise-and) |
| [3291-find-if-array-can-be-sorted](https://github.com/SamWraith/DSA-questions/tree/master/3291-find-if-array-can-be-sorted) |
| [3380-shortest-subarray-with-or-at-least-k-ii](https://github.com/SamWraith/DSA-questions/tree/master/3380-shortest-subarray-with-or-at-least-k-ii) |
| [3394-minimum-array-end](https://github.com/SamWraith/DSA-questions/tree/master/3394-minimum-array-end) |
## Game Theory
| |
| ------- |
| [1240-stone-game-ii](https://github.com/SamWraith/DSA-questions/tree/master/1240-stone-game-ii) |
## Number Theory
| |
| ------- |
| [2716-prime-subtraction-operation](https://github.com/SamWraith/DSA-questions/tree/master/2716-prime-subtraction-operation) |
| [2903-insert-greatest-common-divisors-in-linked-list](https://github.com/SamWraith/DSA-questions/tree/master/2903-insert-greatest-common-divisors-in-linked-list) |
## Brainteaser
| |
| ------- |
| [2503-longest-subarray-with-maximum-bitwise-and](https://github.com/SamWraith/DSA-questions/tree/master/2503-longest-subarray-with-maximum-bitwise-and) |
## Monotonic Stack
| |
| ------- |
| [1002-maximum-width-ramp](https://github.com/SamWraith/DSA-questions/tree/master/1002-maximum-width-ramp) |
| [1050-construct-binary-search-tree-from-preorder-traversal](https://github.com/SamWraith/DSA-questions/tree/master/1050-construct-binary-search-tree-from-preorder-traversal) |
## Iterator
| |
| ------- |
| [0173-binary-search-tree-iterator](https://github.com/SamWraith/DSA-questions/tree/master/0173-binary-search-tree-iterator) |
## Memoization
| |
| ------- |
| [0070-climbing-stairs](https://github.com/SamWraith/DSA-questions/tree/master/0070-climbing-stairs) |
| [0241-different-ways-to-add-parentheses](https://github.com/SamWraith/DSA-questions/tree/master/0241-different-ways-to-add-parentheses) |
## Combinatorics
| |
| ------- |
| [0062-unique-paths](https://github.com/SamWraith/DSA-questions/tree/master/0062-unique-paths) |
## Rolling Hash
| |
| ------- |
| [0214-shortest-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/0214-shortest-palindrome) |
## String Matching
| |
| ------- |
| [0214-shortest-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/0214-shortest-palindrome) |
| [0812-rotate-string](https://github.com/SamWraith/DSA-questions/tree/master/0812-rotate-string) |
| [1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence](https://github.com/SamWraith/DSA-questions/tree/master/1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence) |
## Hash Function
| |
| ------- |
| [0214-shortest-palindrome](https://github.com/SamWraith/DSA-questions/tree/master/0214-shortest-palindrome) |
## Trie
| |
| ------- |
| [0386-lexicographical-numbers](https://github.com/SamWraith/DSA-questions/tree/master/0386-lexicographical-numbers) |
| [0440-k-th-smallest-in-lexicographical-order](https://github.com/SamWraith/DSA-questions/tree/master/0440-k-th-smallest-in-lexicographical-order) |
| [1350-remove-sub-folders-from-the-filesystem](https://github.com/SamWraith/DSA-questions/tree/master/1350-remove-sub-folders-from-the-filesystem) |
| [2494-sum-of-prefix-scores-of-strings](https://github.com/SamWraith/DSA-questions/tree/master/2494-sum-of-prefix-scores-of-strings) |
| [2755-extra-characters-in-a-string](https://github.com/SamWraith/DSA-questions/tree/master/2755-extra-characters-in-a-string) |
| [3329-find-the-length-of-the-longest-common-prefix](https://github.com/SamWraith/DSA-questions/tree/master/3329-find-the-length-of-the-longest-common-prefix) |
## Segment Tree
| |
| ------- |
| [0729-my-calendar-i](https://github.com/SamWraith/DSA-questions/tree/master/0729-my-calendar-i) |
| [0731-my-calendar-ii](https://github.com/SamWraith/DSA-questions/tree/master/0731-my-calendar-ii) |
## Ordered Set
| |
| ------- |
| [0729-my-calendar-i](https://github.com/SamWraith/DSA-questions/tree/master/0729-my-calendar-i) |
| [0731-my-calendar-ii](https://github.com/SamWraith/DSA-questions/tree/master/0731-my-calendar-ii) |
## Doubly-Linked List
| |
| ------- |
| [0432-all-oone-data-structure](https://github.com/SamWraith/DSA-questions/tree/master/0432-all-oone-data-structure) |
## Enumeration
| |
| ------- |
| [2170-count-number-of-maximum-bitwise-or-subsets](https://github.com/SamWraith/DSA-questions/tree/master/2170-count-number-of-maximum-bitwise-or-subsets) |