Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
MennaEwas
/
LeetCode
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2
Star
20
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
579 Commits
579 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.github
.github
1-lclighter-data-idlgt255811883-data-bundle-id0-stylebackground-image-linear-gradienttransparent-0-transparent-calc50-4px-rgb204-242-241-calc50-4px-rgb204-242-241-100-transition-background-position-120ms-ease-in-out-0s-padding-120ms-ease-in-out-0s-background-size-100-200-background-position-initial-user-select-auto-two-sum-lclighterdiv-classlinerthreadicon-linerfirst-lineroverlapse-data-highlight-id255811883-data-bundle-id0-idlgt255811883-stylebackground-image-url-and-quot-https-photogetlinercom-liner-service-bucket-user-photo-default-color-2-vsvg-and-quot-user-select-auto-div-classlinerthreadicon-dim-styleuser-select-auto-div-div-classlinerthreadicon-mentioned-styleuser-select-auto-div-classlinerthreadicon-mentionedimg-styleuser-select-auto-div-div-div-classlinerthreadicon-onlyme-styleuser-select-auto-div-classlinerthreadicon-onlymeimg-styleuser-select-auto-div-div-divdiv-classlinerthreadicon-linersecond-data-highlight-id257820954-data-bundle-id0-idlgt257820954-stylebackground-image-url-and-quot-https-photogetlinercom-liner-service-bucket-user-photo-default-color-5-gsvg-and-quot-user-select-auto-div-classlinerthreadicon-dim-styleuser-select-auto-div-div-classlinerthreadicon-mentioned-styleuser-select-auto-div-classlinerthreadicon-mentionedimg-styleuser-select-auto-div-div-div-classlinerthreadicon-onlyme-styleuser-select-auto-div-classlinerthreadicon-onlymeimg-styleuser-select-auto-div-div-div
1-lclighter-data-idlgt255811883-data-bundle-id0-stylebackground-image-linear-gradienttransparent-0-transparent-calc50-4px-rgb204-242-241-calc50-4px-rgb204-242-241-100-transition-background-position-120ms-ease-in-out-0s-padding-120ms-ease-in-out-0s-background-size-100-200-background-position-initial-user-select-auto-two-sum-lclighterdiv-classlinerthreadicon-linerfirst-lineroverlapse-data-highlight-id255811883-data-bundle-id0-idlgt255811883-stylebackground-image-url-and-quot-https-photogetlinercom-liner-service-bucket-user-photo-default-color-2-vsvg-and-quot-user-select-auto-div-classlinerthreadicon-dim-styleuser-select-auto-div-div-classlinerthreadicon-mentioned-styleuser-select-auto-div-classlinerthreadicon-mentionedimg-styleuser-select-auto-div-div-div-classlinerthreadicon-onlyme-styleuser-select-auto-div-classlinerthreadicon-onlymeimg-styleuser-select-auto-div-div-divdiv-classlinerthreadicon-linersecond-data-highlight-id257820954-data-bundle-id0-idlgt257820954-stylebackground-image-url-and-quot-https-photogetlinercom-liner-service-bucket-user-photo-default-color-5-gsvg-and-quot-user-select-auto-div-classlinerthreadicon-dim-styleuser-select-auto-div-div-classlinerthreadicon-mentioned-styleuser-select-auto-div-classlinerthreadicon-mentionedimg-styleuser-select-auto-div-div-div-classlinerthreadicon-onlyme-styleuser-select-auto-div-classlinerthreadicon-onlymeimg-styleuser-select-auto-div-div-div
100-same-tree
100-same-tree
1004-max-consecutive-ones-iii
1004-max-consecutive-ones-iii
101-symmetric-tree
101-symmetric-tree
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
107-binary-tree-level-order-traversal-ii
107-binary-tree-level-order-traversal-ii
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
111-minimum-depth-of-binary-tree
111-minimum-depth-of-binary-tree
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
116-populating-next-right-pointers-in-each-node
116-populating-next-right-pointers-in-each-node
117-populating-next-right-pointers-in-each-node-ii
117-populating-next-right-pointers-in-each-node-ii
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
122-best-time-to-buy-and-sell-stock-ii
122-best-time-to-buy-and-sell-stock-ii
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
125-valid-palindrome
125-valid-palindrome
127-word-ladder
127-word-ladder
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
129-sum-root-to-leaf-numbers
129-sum-root-to-leaf-numbers
1323-maximum-69-number
1323-maximum-69-number
133-clone-graph
133-clone-graph
134-gas-station
134-gas-station
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
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
142-linked-list-cycle-ii
142-linked-list-cycle-ii
143-reorder-list
143-reorder-list
146-lru-cache
146-lru-cache
148-sort-list
148-sort-list
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
1486-xor-operation-in-an-array
1486-xor-operation-in-an-array
15-3sum
15-3sum
1512-number-of-good-pairs
1512-number-of-good-pairs
1528-shuffle-string
1528-shuffle-string
1534-count-good-triplets
1534-count-good-triplets
155-min-stack
155-min-stack
1557-minimum-number-of-vertices-to-reach-all-nodes
1557-minimum-number-of-vertices-to-reach-all-nodes
16-3sum-closest
16-3sum-closest
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
162-find-peak-element
162-find-peak-element
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
171-excel-sheet-column-number
171-excel-sheet-column-number
1780-check-if-number-is-a-sum-of-powers-of-three
1780-check-if-number-is-a-sum-of-powers-of-three
18-4sum
18-4sum
1812-determine-color-of-a-chessboard-square
1812-determine-color-of-a-chessboard-square
189-rotate-array
189-rotate-array
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
199-binary-tree-right-side-view
199-binary-tree-right-side-view
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
200-number-of-islands
200-number-of-islands
2011-final-value-of-variable-after-performing-operations
2011-final-value-of-variable-after-performing-operations
202-happy-number
202-happy-number
203-remove-linked-list-elements
203-remove-linked-list-elements
205-isomorphic-strings
205-isomorphic-strings
2059-minimum-operations-to-convert-number
2059-minimum-operations-to-convert-number
206-reverse-linked-list
206-reverse-linked-list
207-course-schedule
207-course-schedule
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
2089-find-target-indices-after-sorting-array
2089-find-target-indices-after-sorting-array
209-minimum-size-subarray-sum
209-minimum-size-subarray-sum
21-merge-two-sorted-lists
21-merge-two-sorted-lists
210-course-schedule-ii
210-course-schedule-ii
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
217-contains-duplicate
217-contains-duplicate
219-contains-duplicate-ii
219-contains-duplicate-ii
220-contains-duplicate-iii
220-contains-duplicate-iii
222-count-complete-tree-nodes
222-count-complete-tree-nodes
2235-add-two-integers
2235-add-two-integers
2236-root-equals-sum-of-children
2236-root-equals-sum-of-children
229-majority-element-ii
229-majority-element-ii
23-merge-k-sorted-lists
23-merge-k-sorted-lists
231-power-of-two
231-power-of-two
234-palindrome-linked-list
234-palindrome-linked-list
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
240-search-a-2d-matrix-ii
240-search-a-2d-matrix-ii
242-valid-anagram
242-valid-anagram
257-binary-tree-paths
257-binary-tree-paths
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
27-remove-element
27-remove-element
275-h-index-ii
275-h-index-ii
278-first-bad-version
278-first-bad-version
28-implement-strstr
28-implement-strstr
283-move-zeroes
283-move-zeroes
287-find-the-duplicate-number
287-find-the-duplicate-number
295-find-median-from-data-stream
295-find-median-from-data-stream
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
30-substring-with-concatenation-of-all-words
30-substring-with-concatenation-of-all-words
303-range-sum-query-immutable
303-range-sum-query-immutable
304-range-sum-query-2d-immutable
304-range-sum-query-2d-immutable
326-power-of-three
326-power-of-three
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
342-power-of-four
342-power-of-four
344-reverse-string
344-reverse-string
349-intersection-of-two-arrays
349-intersection-of-two-arrays
35-search-insert-position
35-search-insert-position
392-is-subsequence
392-is-subsequence
View all files
About
No description, website, or topics provided.
Activity
Stars
20
stars
Watchers
1
watching
Forks
2
forks
Report repository
Releases
Sponsor this project
Packages
Contributors
Languages
You can’t perform that action at this time.