Skip to content

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Notifications You must be signed in to change notification settings

pratham1singh/GFG-geeks-for-geeks-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-sols

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

LeetCode Topics

Array

0045-jump-game-ii
0056-merge-intervals
0064-minimum-path-sum
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0139-word-break
0152-maximum-product-subarray
0228-summary-ranges
0300-longest-increasing-subsequence
0494-target-sum
0560-subarray-sum-equals-k
0690-employee-importance
0948-sort-an-array
1036-rotting-oranges
1207-delete-nodes-and-return-forest
1333-sort-the-jumbled-numbers
1496-lucky-numbers-in-a-matrix
1720-crawler-log-folder
1951-find-the-winner-of-the-circular-game
2049-eliminate-maximum-number-of-monsters
2089-maximum-matrix-sum
2220-find-all-possible-recipes-from-given-supplies
3317-maximum-palindromes-after-operations
3326-count-pairs-of-connectable-servers-in-a-weighted-tree-network
3501-delete-nodes-from-linked-list-present-in-array

Math

0202-happy-number
0650-2-keys-keyboard
1951-find-the-winner-of-the-circular-game
3462-vowels-game-in-a-string

Recursion

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

Queue

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

Simulation

1951-find-the-winner-of-the-circular-game
2299-merge-nodes-in-between-zeros

Greedy

0045-jump-game-ii
1818-maximum-score-from-removing-substrings
2049-eliminate-maximum-number-of-monsters
2089-maximum-matrix-sum
3317-maximum-palindromes-after-operations
3493-maximum-number-of-operations-to-move-ones-to-the-end

Sorting

0056-merge-intervals
0948-sort-an-array
1333-sort-the-jumbled-numbers
2049-eliminate-maximum-number-of-monsters
3317-maximum-palindromes-after-operations

Binary Search

0300-longest-increasing-subsequence

Dynamic Programming

0045-jump-game-ii
0064-minimum-path-sum
0139-word-break
0152-maximum-product-subarray
0300-longest-increasing-subsequence
0494-target-sum
0583-delete-operation-for-two-strings
0650-2-keys-keyboard
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1756-minimum-deletions-to-make-string-balanced
2090-number-of-ways-to-arrive-at-destination
3191-maximum-score-after-applying-operations-on-a-tree

String

0139-word-break
0165-compare-version-numbers
0583-delete-operation-for-two-strings
1093-recover-a-tree-from-preorder-traversal
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced
1818-maximum-score-from-removing-substrings
2220-find-all-possible-recipes-from-given-supplies
3317-maximum-palindromes-after-operations
3462-vowels-game-in-a-string
3493-maximum-number-of-operations-to-move-ones-to-the-end

Stack

1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced
1818-maximum-score-from-removing-substrings

Matrix

0064-minimum-path-sum
1036-rotting-oranges
1496-lucky-numbers-in-a-matrix
2089-maximum-matrix-sum

Linked List

0109-convert-sorted-list-to-binary-search-tree
0725-split-linked-list-in-parts
2196-reverse-nodes-in-even-length-groups
2299-merge-nodes-in-between-zeros
3501-delete-nodes-from-linked-list-present-in-array

Divide and Conquer

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0109-convert-sorted-list-to-binary-search-tree
0948-sort-an-array

Tree

0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0109-convert-sorted-list-to-binary-search-tree
0437-path-sum-iii
0543-diameter-of-binary-tree
0617-merge-two-binary-trees
0690-employee-importance
0832-binary-tree-pruning
1093-recover-a-tree-from-preorder-traversal
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
3191-maximum-score-after-applying-operations-on-a-tree
3326-count-pairs-of-connectable-servers-in-a-weighted-tree-network
3486-count-the-number-of-good-nodes

Binary Search Tree

0109-convert-sorted-list-to-binary-search-tree

Binary Tree

0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0109-convert-sorted-list-to-binary-search-tree
0437-path-sum-iii
0543-diameter-of-binary-tree
0617-merge-two-binary-trees
0832-binary-tree-pruning
1093-recover-a-tree-from-preorder-traversal
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs

Hash Table

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0139-word-break
0202-happy-number
0560-subarray-sum-equals-k
0690-employee-importance
1207-delete-nodes-and-return-forest
2220-find-all-possible-recipes-from-given-supplies
3317-maximum-palindromes-after-operations
3501-delete-nodes-from-linked-list-present-in-array

Two Pointers

0165-compare-version-numbers
0202-happy-number

Depth-First Search

0104-maximum-depth-of-binary-tree
0437-path-sum-iii
0543-diameter-of-binary-tree
0617-merge-two-binary-trees
0690-employee-importance
0832-binary-tree-pruning
1093-recover-a-tree-from-preorder-traversal
1207-delete-nodes-and-return-forest
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1558-course-schedule-iv
1653-number-of-good-leaf-nodes-pairs
2438-find-closest-node-to-given-two-nodes
2439-longest-cycle-in-a-graph
3191-maximum-score-after-applying-operations-on-a-tree
3326-count-pairs-of-connectable-servers-in-a-weighted-tree-network
3486-count-the-number-of-good-nodes

Breadth-First Search

0104-maximum-depth-of-binary-tree
0617-merge-two-binary-trees
0690-employee-importance
1036-rotting-oranges
1229-shortest-path-with-alternating-colors
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1558-course-schedule-iv

Prefix Sum

0560-subarray-sum-equals-k

Counting

3317-maximum-palindromes-after-operations
3493-maximum-number-of-operations-to-move-ones-to-the-end

Brainteaser

3462-vowels-game-in-a-string

Game Theory

3462-vowels-game-in-a-string

Heap (Priority Queue)

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Backtracking

0494-target-sum

Graph

1229-shortest-path-with-alternating-colors
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
1558-course-schedule-iv
2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies
2438-find-closest-node-to-given-two-nodes
2439-longest-cycle-in-a-graph

Topological Sort

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1558-course-schedule-iv
2090-number-of-ways-to-arrive-at-destination
2220-find-all-possible-recipes-from-given-supplies
2439-longest-cycle-in-a-graph

Shortest Path

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2090-number-of-ways-to-arrive-at-destination

Trie

0139-word-break

Memoization

0139-word-break

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published