Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Yousef-Diab
leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
4
(
4
)
You must be signed in to star a repository
About
my leetcode public solutions - not up to date
Activity
Stars
4
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
790 Commits
790 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
1091-shortest-path-in-binary-matrix
1091-shortest-path-in-binary-matrix
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
112-path-sum
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
1192-critical-connections-in-a-network
1192-critical-connections-in-a-network
120-triangle
120-triangle
1202-smallest-string-with-swaps
1202-smallest-string-with-swaps
1209-remove-all-adjacent-duplicates-in-string-ii
1209-remove-all-adjacent-duplicates-in-string-ii
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
125-valid-palindrome
125-valid-palindrome
1260-shift-2d-grid
1260-shift-2d-grid
1268-search-suggestions-system
1268-search-suggestions-system
128-longest-consecutive-sequence
128-longest-consecutive-sequence
13-roman-to-integer
13-roman-to-integer
1302-deepest-leaves-sum
1302-deepest-leaves-sum
1332-remove-palindromic-subsequences
1332-remove-palindromic-subsequences
1337-the-k-weakest-rows-in-a-matrix
1337-the-k-weakest-rows-in-a-matrix
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1346-check-if-n-and-its-double-exist
1346-check-if-n-and-its-double-exist
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
136-single-number
136-single-number
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
1385-find-the-distance-value-between-two-arrays
1385-find-the-distance-value-between-two-arrays
1396-design-underground-system
1396-design-underground-system
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
1457-pseudo-palindromic-paths-in-a-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1461-check-if-a-string-contains-all-binary-codes-of-size-k
148-sort-list
148-sort-list
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
15-3sum
15-3sum
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
1539-kth-missing-positive-number
1539-kth-missing-positive-number
155-min-stack
155-min-stack
1582-special-positions-in-a-binary-matrix
1582-special-positions-in-a-binary-matrix
1584-min-cost-to-connect-all-points
1584-min-cost-to-connect-all-points
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1608-special-array-with-x-elements-greater-than-or-equal-x
1608-special-array-with-x-elements-greater-than-or-equal-x
1631-path-with-minimum-effort
1631-path-with-minimum-effort
1641-count-sorted-vowel-strings
1641-count-sorted-vowel-strings
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
1679-max-number-of-k-sum-pairs
1679-max-number-of-k-sum-pairs
169-majority-element
169-majority-element
1695-maximum-erasure-value
1695-maximum-erasure-value
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
171-excel-sheet-column-number
171-excel-sheet-column-number
173-binary-search-tree-iterator
173-binary-search-tree-iterator
175-combine-two-tables
175-combine-two-tables
1757-recyclable-and-low-fat-products
1757-recyclable-and-low-fat-products
183-customers-who-never-order
183-customers-who-never-order
1855-maximum-distance-between-a-pair-of-values
1855-maximum-distance-between-a-pair-of-values
1873-calculate-special-bonus
1873-calculate-special-bonus
191-number-of-1-bits
191-number-of-1-bits
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
202-happy-number
202-happy-number
203-remove-linked-list-elements
203-remove-linked-list-elements
205-isomorphic-strings
205-isomorphic-strings
206-reverse-linked-list
206-reverse-linked-list
21-merge-two-sorted-lists
21-merge-two-sorted-lists
216-combination-sum-iii
216-combination-sum-iii
217-contains-duplicate
217-contains-duplicate
219-contains-duplicate-ii
219-contains-duplicate-ii
2235-add-two-integers
2235-add-two-integers
2236-root-equals-sum-of-children
2236-root-equals-sum-of-children
225-implement-stack-using-queues
225-implement-stack-using-queues
226-invert-binary-tree
226-invert-binary-tree
230-kth-smallest-element-in-a-bst
230-kth-smallest-element-in-a-bst
232-implement-queue-using-stacks
232-implement-queue-using-stacks
234-palindrome-linked-list
234-palindrome-linked-list
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
238-product-of-array-except-self
238-product-of-array-except-self
242-valid-anagram
242-valid-anagram
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
268-missing-number
268-missing-number
27-remove-element
27-remove-element
278-first-bad-version
278-first-bad-version
28-implement-strstr
28-implement-strstr
283-move-zeroes
283-move-zeroes
284-peeking-iterator
284-peeking-iterator
289-game-of-life
289-game-of-life
29-divide-two-integers
29-divide-two-integers
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
304-range-sum-query-2d-immutable
304-range-sum-query-2d-immutable
318-maximum-product-of-word-lengths
318-maximum-product-of-word-lengths
32-longest-valid-parentheses
32-longest-valid-parentheses
322-coin-change
322-coin-change
View all files
About
my leetcode public solutions - not up to date
Activity
Stars
4
stars
Watchers
1
watching
Forks
0
forks
Report repository
Contributors
Languages
You can’t perform that action at this time.