Skip to content

Collection of @leetcode problems Daily Challenges and their possible solutions with different approaches along side the @leetcode @topics of DSA.Below review the LeetCode-Profile

Notifications You must be signed in to change notification settings

mj-awad17/LeetCode-Problems-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode-Solutioins

Embark on a journey of growth and mastery with this comprehensive collection of LeetCode questions. Equip yourself with the necessary tools and techniques to excel in your coding interviews.

Backtracking

0077-combinations

Array

1833-find-the-highest-altitude

Prefix Sum

1833-find-the-highest-altitude

Graph

1916-find-center-of-star-graph

Hash Table

0782-jewels-and-stones

String

0782-jewels-and-stones

LeetCode Topics

Array

0001-two-sum
0027-remove-element
0035-search-insert-position
0040-combination-sum-ii
0056-merge-intervals
0152-maximum-product-subarray
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0350-intersection-of-two-arrays-ii
0500-keyboard-row
0624-maximum-distance-in-arrays
0854-making-a-large-island
0870-magic-squares-in-grid
1231-replace-elements-with-greatest-element-on-right-side
1293-three-consecutive-odds
1580-shuffle-the-array
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1786-count-the-number-of-consistent-strings
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2058-concatenation-of-array
2163-kth-distinct-string-in-an-array
3501-delete-nodes-from-linked-list-present-in-array

Hash Table

0001-two-sum
0013-roman-to-integer
0217-contains-duplicate
0350-intersection-of-two-arrays-ii
0500-keyboard-row
0870-magic-squares-in-grid
1786-count-the-number-of-consistent-strings
2163-kth-distinct-string-in-an-array
3501-delete-nodes-from-linked-list-present-in-array

Sorting

0056-merge-intervals
0217-contains-duplicate
0350-intersection-of-two-arrays-ii
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
2379-maximum-total-importance-of-roads

Greedy

0624-maximum-distance-in-arrays
0680-valid-palindrome-ii
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
2379-maximum-total-importance-of-roads

Graph

2379-maximum-total-importance-of-roads

Heap (Priority Queue)

2379-maximum-total-importance-of-roads

Linked List

0021-merge-two-sorted-lists
0143-reorder-list
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2871-double-a-number-represented-as-a-linked-list
3501-delete-nodes-from-linked-list-present-in-array

Math

0013-roman-to-integer
0070-climbing-stairs
0096-unique-binary-search-trees
0870-magic-squares-in-grid
1642-water-bottles
1951-find-the-winner-of-the-circular-game
2871-double-a-number-represented-as-a-linked-list

Stack

0143-reorder-list
2871-double-a-number-represented-as-a-linked-list

Simulation

1642-water-bottles
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2058-concatenation-of-array

Two Pointers

0005-longest-palindromic-substring
0027-remove-element
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted
0350-intersection-of-two-arrays-ii
0392-is-subsequence
0680-valid-palindrome-ii

String

0005-longest-palindromic-substring
0006-zigzag-conversion
0013-roman-to-integer
0014-longest-common-prefix
0392-is-subsequence
0500-keyboard-row
0680-valid-palindrome-ii
1786-count-the-number-of-consistent-strings
2163-kth-distinct-string-in-an-array

Dynamic Programming

0005-longest-palindromic-substring
0070-climbing-stairs
0096-unique-binary-search-trees
0152-maximum-product-subarray
0392-is-subsequence

Binary Search

0035-search-insert-position
0167-two-sum-ii-input-array-is-sorted
0350-intersection-of-two-arrays-ii
0374-guess-number-higher-or-lower

Interactive

0374-guess-number-higher-or-lower

Recursion

0021-merge-two-sorted-lists
0143-reorder-list
1951-find-the-winner-of-the-circular-game

Queue

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

Trie

0014-longest-common-prefix

Memoization

0070-climbing-stairs

Counting

1786-count-the-number-of-consistent-strings
2163-kth-distinct-string-in-an-array

Matrix

0854-making-a-large-island
0870-magic-squares-in-grid

Backtracking

0040-combination-sum-ii

Depth-First Search

0854-making-a-large-island

Breadth-First Search

0102-binary-tree-level-order-traversal
0854-making-a-large-island

Union Find

0854-making-a-large-island

Tree

0096-unique-binary-search-trees
0102-binary-tree-level-order-traversal

Binary Tree

0096-unique-binary-search-trees
0102-binary-tree-level-order-traversal

Binary Search Tree

0096-unique-binary-search-trees

Bit Manipulation

1786-count-the-number-of-consistent-strings
2323-minimum-bit-flips-to-convert-number

About

Collection of @leetcode problems Daily Challenges and their possible solutions with different approaches along side the @leetcode @topics of DSA.Below review the LeetCode-Profile

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages