Skip to content

This repository provides a comprehensive overview of my progress and achievements in tackling various challenges on LeetCode, a renowned platform for honing programming and problem-solving skills. It serves as a dynamic showcase of my journey, highlighting both completed solutions and ongoing efforts.

Notifications You must be signed in to change notification settings

Harsha2k3/Data-Structures-and-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

This repository provides a comprehensive overview of my progress and achievements in tackling various challenges on LeetCode, a renowned platform for honing programming and problem-solving skills. It serves as a dynamic showcase of my journey, highlighting both completed solutions and ongoing efforts.

Array

0034-find-first-and-last-position-of-element-in-sorted-array
0037-sudoku-solver
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0047-permutations-ii
0051-n-queens
0078-subsets
0079-word-search
0090-subsets-ii
0139-word-break
0140-word-break-ii
0287-find-the-duplicate-number
0330-patching-array
0907-koko-eating-bananas
0982-minimum-increment-to-make-array-unique
1016-subarray-sums-divisible-by-k
1037-minimum-number-of-k-consecutive-bit-flips
1138-grumpy-bookstore-owner
1370-count-number-of-nice-subarrays
1408-find-the-smallest-divisor-given-a-threshold
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1605-minimum-number-of-days-to-make-m-bouquets
1675-magnetic-force-between-two-balls
1951-find-the-winner-of-the-circular-game
2148-minimum-number-of-moves-to-seat-everyone
2170-count-number-of-maximum-bitwise-or-subsets
2255-minimum-swaps-to-group-all-1s-together-ii
2696-the-number-of-beautiful-subsets
2856-count-complete-subarrays-in-an-array
3383-taking-maximum-energy-from-the-mystic-dungeon
3420-find-occurrences-of-an-element-in-an-array
3429-special-array-i

Binary Search

0034-find-first-and-last-position-of-element-in-sorted-array
0069-sqrtx
0287-find-the-duplicate-number
0907-koko-eating-bananas
1408-find-the-smallest-divisor-given-a-threshold
1605-minimum-number-of-days-to-make-m-bouquets
1675-magnetic-force-between-two-balls

Math

0060-permutation-sequence
0069-sqrtx
0231-power-of-two
0282-expression-add-operators
1370-count-number-of-nice-subarrays
1951-find-the-winner-of-the-circular-game

Two Pointers

0287-find-the-duplicate-number

Bit Manipulation

0078-subsets
0090-subsets-ii
0231-power-of-two
0287-find-the-duplicate-number
0800-letter-case-permutation
1037-minimum-number-of-k-consecutive-bit-flips
2170-count-number-of-maximum-bitwise-or-subsets

Hash Table

0003-longest-substring-without-repeating-characters
0037-sudoku-solver
0139-word-break
0140-word-break-ii
0409-longest-palindrome
1016-subarray-sums-divisible-by-k
1370-count-number-of-nice-subarrays
2856-count-complete-subarrays-in-an-array
3420-find-occurrences-of-an-element-in-an-array

String

0003-longest-substring-without-repeating-characters
0022-generate-parentheses
0079-word-search
0131-palindrome-partitioning
0139-word-break
0140-word-break-ii
0282-expression-add-operators
0409-longest-palindrome
0800-letter-case-permutation
1211-iterator-for-combination
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1967-longest-substring-of-all-vowels-in-order
1976-splitting-a-string-into-descending-consecutive-values

Greedy

0330-patching-array
0409-longest-palindrome
0982-minimum-increment-to-make-array-unique
1285-balance-a-binary-search-tree
2148-minimum-number-of-moves-to-seat-everyone

Prefix Sum

1016-subarray-sums-divisible-by-k
1037-minimum-number-of-k-consecutive-bit-flips
3383-taking-maximum-energy-from-the-mystic-dungeon

Sorting

0982-minimum-increment-to-make-array-unique
1675-magnetic-force-between-two-balls
2148-minimum-number-of-moves-to-seat-everyone
2696-the-number-of-beautiful-subsets

Linked List

0206-reverse-linked-list

Recursion

0060-permutation-sequence
0206-reverse-linked-list
0231-power-of-two
1951-find-the-winner-of-the-circular-game

Queue

1037-minimum-number-of-k-consecutive-bit-flips
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1951-find-the-winner-of-the-circular-game

Simulation

1951-find-the-winner-of-the-circular-game

Backtracking

0022-generate-parentheses
0037-sudoku-solver
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0047-permutations-ii
0051-n-queens
0052-n-queens-ii
0078-subsets
0079-word-search
0090-subsets-ii
0131-palindrome-partitioning
0140-word-break-ii
0282-expression-add-operators
0800-letter-case-permutation
1211-iterator-for-combination
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1976-splitting-a-string-into-descending-consecutive-values
2170-count-number-of-maximum-bitwise-or-subsets
2696-the-number-of-beautiful-subsets

Counting

0982-minimum-increment-to-make-array-unique

Matrix

0037-sudoku-solver
0079-word-search

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0538-convert-bst-to-greater-tree
0543-diameter-of-binary-tree
1114-binary-search-tree-to-greater-sum-tree
1120-flower-planting-with-no-adjacent
1285-balance-a-binary-search-tree

Breadth-First Search

0100-same-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0112-path-sum
1120-flower-planting-with-no-adjacent

Graph

1120-flower-planting-with-no-adjacent
1916-find-center-of-star-graph

Dynamic Programming

0022-generate-parentheses
0124-binary-tree-maximum-path-sum
0131-palindrome-partitioning
0139-word-break
0140-word-break-ii
2696-the-number-of-beautiful-subsets

Trie

0139-word-break
0140-word-break-ii

Memoization

0139-word-break
0140-word-break-ii

Sliding Window

0003-longest-substring-without-repeating-characters
1037-minimum-number-of-k-consecutive-bit-flips
1138-grumpy-bookstore-owner
1370-count-number-of-nice-subarrays
1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1967-longest-substring-of-all-vowels-in-order
2255-minimum-swaps-to-group-all-1s-together-ii
2856-count-complete-subarrays-in-an-array

Enumeration

2170-count-number-of-maximum-bitwise-or-subsets

Design

1211-iterator-for-combination

Iterator

1211-iterator-for-combination

Heap (Priority Queue)

1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Ordered Set

1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Monotonic Queue

1549-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0538-convert-bst-to-greater-tree
0543-diameter-of-binary-tree
1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0538-convert-bst-to-greater-tree
0543-diameter-of-binary-tree
1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Binary Search Tree

0538-convert-bst-to-greater-tree
1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Divide and Conquer

1285-balance-a-binary-search-tree

LeetCode Topics

Greedy

1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1818-maximum-score-from-removing-substrings
2279-maximum-split-of-positive-even-integers
2379-maximum-total-importance-of-roads
2456-construct-smallest-number-from-di-string
3276-minimum-number-of-pushes-to-type-word-ii

Graph

1120-flower-planting-with-no-adjacent
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1701-remove-max-number-of-edges-to-keep-graph-fully-traversable
2379-maximum-total-importance-of-roads

Sorting

0350-intersection-of-two-arrays-ii
0941-sort-array-by-parity
1029-vertical-order-traversal-of-a-binary-tree
1427-all-elements-in-two-binary-search-trees
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
2379-maximum-total-importance-of-roads
3276-minimum-number-of-pushes-to-type-word-ii

Heap (Priority Queue)

2379-maximum-total-importance-of-roads

Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0114-flatten-binary-tree-to-linked-list
0116-populating-next-right-pointers-in-each-node
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0222-count-complete-tree-nodes
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0404-sum-of-left-leaves
0450-delete-node-in-a-bst
0501-find-mode-in-binary-search-tree
0513-find-bottom-left-tree-value
0530-minimum-absolute-difference-in-bst
0543-diameter-of-binary-tree
0563-binary-tree-tilt
0606-construct-string-from-binary-tree
0617-merge-two-binary-trees
0623-add-one-row-to-tree
0637-average-of-levels-in-binary-tree
0662-maximum-width-of-binary-tree
0669-trim-a-binary-search-tree
0671-second-minimum-node-in-a-binary-tree
0783-search-in-a-binary-search-tree
0799-minimum-distance-between-bst-nodes
0832-binary-tree-pruning
0893-all-nodes-distance-k-in-binary-tree
0904-leaf-similar-trees
0933-increasing-order-search-tree
0975-range-sum-of-bst
1005-univalued-binary-tree
1029-vertical-order-traversal-of-a-binary-tree
1030-smallest-string-starting-from-leaf
1035-cousins-in-binary-tree
1050-construct-binary-search-tree-from-preorder-traversal
1079-sum-of-root-to-leaf-binary-numbers
1092-maximum-difference-between-node-and-ancestor
1116-maximum-level-sum-of-a-binary-tree
1243-sum-of-nodes-with-even-valued-grandparent
1254-deepest-leaves-sum
1427-all-elements-in-two-binary-search-trees
1450-delete-leaves-with-a-given-value
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1544-count-good-nodes-in-binary-tree
2347-count-nodes-equal-to-average-of-subtree
2384-root-equals-sum-of-children
2416-evaluate-boolean-binary-tree
2461-amount-of-time-for-binary-tree-to-be-infected
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level

Depth-First Search

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0114-flatten-binary-tree-to-linked-list
0116-populating-next-right-pointers-in-each-node
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0404-sum-of-left-leaves
0501-find-mode-in-binary-search-tree
0513-find-bottom-left-tree-value
0530-minimum-absolute-difference-in-bst
0543-diameter-of-binary-tree
0563-binary-tree-tilt
0606-construct-string-from-binary-tree
0617-merge-two-binary-trees
0623-add-one-row-to-tree
0637-average-of-levels-in-binary-tree
0662-maximum-width-of-binary-tree
0669-trim-a-binary-search-tree
0671-second-minimum-node-in-a-binary-tree
0799-minimum-distance-between-bst-nodes
0832-binary-tree-pruning
0893-all-nodes-distance-k-in-binary-tree
0904-leaf-similar-trees
0933-increasing-order-search-tree
0975-range-sum-of-bst
1005-univalued-binary-tree
1029-vertical-order-traversal-of-a-binary-tree
1030-smallest-string-starting-from-leaf
1035-cousins-in-binary-tree
1079-sum-of-root-to-leaf-binary-numbers
1092-maximum-difference-between-node-and-ancestor
1116-maximum-level-sum-of-a-binary-tree
1120-flower-planting-with-no-adjacent
1243-sum-of-nodes-with-even-valued-grandparent
1254-deepest-leaves-sum
1427-all-elements-in-two-binary-search-trees
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1450-delete-leaves-with-a-given-value
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1544-count-good-nodes-in-binary-tree
2347-count-nodes-equal-to-average-of-subtree
2416-evaluate-boolean-binary-tree
2461-amount-of-time-for-binary-tree-to-be-infected

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0116-populating-next-right-pointers-in-each-node
0199-binary-tree-right-side-view
0226-invert-binary-tree
0297-serialize-and-deserialize-binary-tree
0404-sum-of-left-leaves
0513-find-bottom-left-tree-value
0530-minimum-absolute-difference-in-bst
0617-merge-two-binary-trees
0623-add-one-row-to-tree
0637-average-of-levels-in-binary-tree
0662-maximum-width-of-binary-tree
0799-minimum-distance-between-bst-nodes
0893-all-nodes-distance-k-in-binary-tree
1005-univalued-binary-tree
1007-numbers-with-same-consecutive-differences
1029-vertical-order-traversal-of-a-binary-tree
1035-cousins-in-binary-tree
1116-maximum-level-sum-of-a-binary-tree
1120-flower-planting-with-no-adjacent
1243-sum-of-nodes-with-even-valued-grandparent
1254-deepest-leaves-sum
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1544-count-good-nodes-in-binary-tree
2461-amount-of-time-for-binary-tree-to-be-infected
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level

Binary Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0114-flatten-binary-tree-to-linked-list
0116-populating-next-right-pointers-in-each-node
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0222-count-complete-tree-nodes
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0404-sum-of-left-leaves
0450-delete-node-in-a-bst
0501-find-mode-in-binary-search-tree
0513-find-bottom-left-tree-value
0530-minimum-absolute-difference-in-bst
0543-diameter-of-binary-tree
0563-binary-tree-tilt
0606-construct-string-from-binary-tree
0617-merge-two-binary-trees
0623-add-one-row-to-tree
0637-average-of-levels-in-binary-tree
0662-maximum-width-of-binary-tree
0669-trim-a-binary-search-tree
0671-second-minimum-node-in-a-binary-tree
0783-search-in-a-binary-search-tree
0799-minimum-distance-between-bst-nodes
0832-binary-tree-pruning
0893-all-nodes-distance-k-in-binary-tree
0904-leaf-similar-trees
0933-increasing-order-search-tree
0975-range-sum-of-bst
1005-univalued-binary-tree
1029-vertical-order-traversal-of-a-binary-tree
1030-smallest-string-starting-from-leaf
1035-cousins-in-binary-tree
1050-construct-binary-search-tree-from-preorder-traversal
1079-sum-of-root-to-leaf-binary-numbers
1092-maximum-difference-between-node-and-ancestor
1116-maximum-level-sum-of-a-binary-tree
1243-sum-of-nodes-with-even-valued-grandparent
1254-deepest-leaves-sum
1427-all-elements-in-two-binary-search-trees
1450-delete-leaves-with-a-given-value
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1544-count-good-nodes-in-binary-tree
2347-count-nodes-equal-to-average-of-subtree
2384-root-equals-sum-of-children
2416-evaluate-boolean-binary-tree
2461-amount-of-time-for-binary-tree-to-be-infected
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level

Topological Sort

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph

Hash Table

0037-sudoku-solver
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0139-word-break
0202-happy-number
0350-intersection-of-two-arrays-ii
0893-all-nodes-distance-k-in-binary-tree
1029-vertical-order-traversal-of-a-binary-tree
1160-letter-tile-possibilities
1715-split-a-string-into-the-max-number-of-unique-substrings
2107-find-unique-binary-string
2461-amount-of-time-for-binary-tree-to-be-infected
3276-minimum-number-of-pushes-to-type-word-ii

Union Find

1701-remove-max-number-of-edges-to-keep-graph-fully-traversable

Array

0037-sudoku-solver
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0047-permutations-ii
0051-n-queens
0078-subsets
0090-subsets-ii
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0139-word-break
0216-combination-sum-iii
0350-intersection-of-two-arrays-ii
0941-sort-array-by-parity
1050-construct-binary-search-tree-from-preorder-traversal
1293-three-consecutive-odds
1331-path-with-maximum-gold
1360-maximum-length-of-a-concatenated-string-with-unique-characters
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1720-crawler-log-folder
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
1993-sum-of-all-subset-xor-totals
2107-find-unique-binary-string
3372-longest-strictly-increasing-or-strictly-decreasing-subarray

Binary Search

0222-count-complete-tree-nodes
0350-intersection-of-two-arrays-ii

Bit Manipulation

0078-subsets
0090-subsets-ii
0222-count-complete-tree-nodes
0401-binary-watch
0476-number-complement
0800-letter-case-permutation
1360-maximum-length-of-a-concatenated-string-with-unique-characters
1993-sum-of-all-subset-xor-totals
2323-minimum-bit-flips-to-convert-number

Divide and Conquer

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree

String

0022-generate-parentheses
0131-palindrome-partitioning
0139-word-break
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0606-construct-string-from-binary-tree
0800-letter-case-permutation
0834-ambiguous-coordinates
0872-split-array-into-fibonacci-sequence
1030-smallest-string-starting-from-leaf
1160-letter-tile-possibilities
1298-reverse-substrings-between-each-pair-of-parentheses
1360-maximum-length-of-a-concatenated-string-with-unique-characters
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1715-split-a-string-into-the-max-number-of-unique-substrings
1720-crawler-log-folder
1818-maximum-score-from-removing-substrings
2107-find-unique-binary-string
2456-construct-smallest-number-from-di-string
3276-minimum-number-of-pushes-to-type-word-ii

Design

0297-serialize-and-deserialize-binary-tree

Two Pointers

0202-happy-number
0350-intersection-of-two-arrays-ii
0941-sort-array-by-parity
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence

Linked List

0114-flatten-binary-tree-to-linked-list
0116-populating-next-right-pointers-in-each-node
0725-split-linked-list-in-parts
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2299-merge-nodes-in-between-zeros

Simulation

1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2299-merge-nodes-in-between-zeros
2645-pass-the-pillow

Stack

0094-binary-tree-inorder-traversal
0114-flatten-binary-tree-to-linked-list
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0933-increasing-order-search-tree
1050-construct-binary-search-tree-from-preorder-traversal
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1818-maximum-score-from-removing-substrings
2456-construct-smallest-number-from-di-string

Math

0202-happy-number
1951-find-the-winner-of-the-circular-game
1993-sum-of-all-subset-xor-totals
2279-maximum-split-of-positive-even-integers
2645-pass-the-pillow
2802-find-the-punishment-number-of-an-integer

Recursion

1951-find-the-winner-of-the-circular-game

Queue

1951-find-the-winner-of-the-circular-game

Binary Search Tree

0098-validate-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0230-kth-smallest-element-in-a-bst
0450-delete-node-in-a-bst
0501-find-mode-in-binary-search-tree
0530-minimum-absolute-difference-in-bst
0669-trim-a-binary-search-tree
0783-search-in-a-binary-search-tree
0799-minimum-distance-between-bst-nodes
0933-increasing-order-search-tree
0975-range-sum-of-bst
1050-construct-binary-search-tree-from-preorder-traversal
1427-all-elements-in-two-binary-search-trees

Monotonic Stack

1050-construct-binary-search-tree-from-preorder-traversal

Backtracking

0022-generate-parentheses
0037-sudoku-solver
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0047-permutations-ii
0051-n-queens
0052-n-queens-ii
0077-combinations
0078-subsets
0090-subsets-ii
0131-palindrome-partitioning
0216-combination-sum-iii
0257-binary-tree-paths
0401-binary-watch
0800-letter-case-permutation
0834-ambiguous-coordinates
0872-split-array-into-fibonacci-sequence
1007-numbers-with-same-consecutive-differences
1030-smallest-string-starting-from-leaf
1160-letter-tile-possibilities
1331-path-with-maximum-gold
1360-maximum-length-of-a-concatenated-string-with-unique-characters
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1715-split-a-string-into-the-max-number-of-unique-substrings
1993-sum-of-all-subset-xor-totals
2107-find-unique-binary-string
2279-maximum-split-of-positive-even-integers
2456-construct-smallest-number-from-di-string
2802-find-the-punishment-number-of-an-integer

Dynamic Programming

0022-generate-parentheses
0124-binary-tree-maximum-path-sum
0131-palindrome-partitioning
0139-word-break

Counting

1160-letter-tile-possibilities
3276-minimum-number-of-pushes-to-type-word-ii

Matrix

0037-sudoku-solver
1331-path-with-maximum-gold

Database

0176-second-highest-salary
0180-consecutive-numbers
0196-delete-duplicate-emails
0197-rising-temperature
0570-managers-with-at-least-5-direct-reports
0577-employee-bonus
0585-investments-in-2016
0596-classes-more-than-5-students
0602-friend-requests-ii-who-has-the-most-friends
0610-triangle-judgement
0619-biggest-single-number
0620-not-boring-movies
0626-exchange-seats
1135-customers-who-bought-all-products
1153-product-sales-analysis-i
1155-product-sales-analysis-iii
1161-project-employees-i
1182-game-play-analysis-iv
1245-user-activity-for-the-past-30-days-i
1258-article-views-i
1278-product-price-at-a-given-date
1292-immediate-food-delivery-ii
1317-monthly-transactions-i
1327-last-person-to-fit-in-the-bus
1338-queries-quality-and-percentage
1390-average-selling-price
1415-students-and-examinations
1452-restaurant-growth
1462-list-the-products-ordered-in-a-period
1480-movie-rating
1509-replace-employee-id-with-the-unique-identifier
1625-group-sold-products-by-the-date
1664-find-users-with-valid-e-mails
1670-patients-with-a-condition
1724-customer-who-visited-but-did-not-make-any-transactions
1773-percentage-of-users-attended-a-contest
1801-average-time-of-process-per-machine
1811-fix-names-in-a-table
1827-invalid-tweets
1877-find-followers-count
1882-the-number-of-employees-which-report-to-each-employee
1942-primary-department-for-each-employee
2087-confirmation-rate
2127-employees-whose-manager-left-the-company
2495-number-of-unique-subjects-taught-by-each-teacher

Combinatorics

1993-sum-of-all-subset-xor-totals

Enumeration

0834-ambiguous-coordinates
1993-sum-of-all-subset-xor-totals

Trie

0139-word-break

Memoization

0139-word-break

String Matching

1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence

About

This repository provides a comprehensive overview of my progress and achievements in tackling various challenges on LeetCode, a renowned platform for honing programming and problem-solving skills. It serves as a dynamic showcase of my journey, highlighting both completed solutions and ongoing efforts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages