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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
motoon-eg
/
LeetCode-Problems
Public
forked from
oradwanomar/LeetCode-Problems
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
875 Commits
875 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-two-sum
1-two-sum
1050-actors-and-directors-who-cooperated-at-least-three-times
1050-actors-and-directors-who-cooperated-at-least-three-times
1089-duplicate-zeros
1089-duplicate-zeros
1095-find-in-mountain-array
1095-find-in-mountain-array
11-container-with-most-water
11-container-with-most-water
1114-print-in-order
1114-print-in-order
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1295-find-numbers-with-even-number-of-digits
1295-find-numbers-with-even-number-of-digits
1331-rank-transform-of-an-array
1331-rank-transform-of-an-array
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
135-candy
135-candy
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
136-single-number
136-single-number
1365-how-many-numbers-are-smaller-than-the-current-number
1365-how-many-numbers-are-smaller-than-the-current-number
137-single-number-ii
137-single-number-ii
1394-find-lucky-integer-in-an-array
1394-find-lucky-integer-in-an-array
14-longest-common-prefix
14-longest-common-prefix
1414-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
1414-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
1423-maximum-points-you-can-obtain-from-cards
1423-maximum-points-you-can-obtain-from-cards
1431-kids-with-the-greatest-number-of-candies
1431-kids-with-the-greatest-number-of-candies
1464-maximum-product-of-two-elements-in-an-array
1464-maximum-product-of-two-elements-in-an-array
1465-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
1465-maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
1470-shuffle-the-array
1470-shuffle-the-array
1473-paint-house-iii
1473-paint-house-iii
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
1512-number-of-good-pairs
1512-number-of-good-pairs
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
1550-three-consecutive-odds
1550-three-consecutive-odds
1603-design-parking-system
1603-design-parking-system
162-find-peak-element
162-find-peak-element
1636-sort-array-by-increasing-frequency
1636-sort-array-by-increasing-frequency
164-maximum-gap
164-maximum-gap
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
1672-richest-customer-wealth
1672-richest-customer-wealth
169-majority-element
169-majority-element
1695-maximum-erasure-value
1695-maximum-erasure-value
1696-jump-game-vi
1696-jump-game-vi
1710-maximum-units-on-a-truck
1710-maximum-units-on-a-truck
1795-rearrange-products-table
1795-rearrange-products-table
1816-truncate-sentence
1816-truncate-sentence
189-rotate-array
189-rotate-array
1901-find-a-peak-element-ii
1901-find-a-peak-element-ii
1920-build-array-from-permutation
1920-build-array-from-permutation
1929-concatenation-of-array
1929-concatenation-of-array
1985-find-the-kth-largest-integer-in-the-array
1985-find-the-kth-largest-integer-in-the-array
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
204-count-primes
204-count-primes
2057-smallest-index-with-equal-value
2057-smallest-index-with-equal-value
2089-find-target-indices-after-sorting-array
2089-find-target-indices-after-sorting-array
2129-capitalize-the-title
2129-capitalize-the-title
2148-count-elements-with-strictly-smaller-and-greater-elements
2148-count-elements-with-strictly-smaller-and-greater-elements
2149-rearrange-array-elements-by-sign
2149-rearrange-array-elements-by-sign
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
2161-partition-array-according-to-given-pivot
2161-partition-array-according-to-given-pivot
2176-count-equal-and-divisible-pairs-in-an-array
2176-count-equal-and-divisible-pairs-in-an-array
2177-find-three-consecutive-integers-that-sum-to-a-given-number
2177-find-three-consecutive-integers-that-sum-to-a-given-number
2185-counting-words-with-a-given-prefix
2185-counting-words-with-a-given-prefix
220-contains-duplicate-iii
220-contains-duplicate-iii
2206-divide-array-into-equal-pairs
2206-divide-array-into-equal-pairs
2215-find-the-difference-of-two-arrays
2215-find-the-difference-of-two-arrays
2239-find-closest-number-to-zero
2239-find-closest-number-to-zero
2255-count-prefixes-of-a-given-string
2255-count-prefixes-of-a-given-string
2256-minimum-average-difference
2256-minimum-average-difference
2260-minimum-consecutive-cards-to-pick-up
2260-minimum-consecutive-cards-to-pick-up
2273-find-resultant-array-after-removing-anagrams
2273-find-resultant-array-after-removing-anagrams
2295-replace-elements-in-an-array
2295-replace-elements-in-an-array
2315-count-asterisks
2315-count-asterisks
2352-equal-row-and-column-pairs
2352-equal-row-and-column-pairs
240-search-a-2d-matrix-ii
240-search-a-2d-matrix-ii
242-valid-anagram
242-valid-anagram
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
260-single-number-iii
260-single-number-iii
268-missing-number
268-missing-number
27-remove-element
27-remove-element
278-first-bad-version
278-first-bad-version
283-move-zeroes
283-move-zeroes
29-divide-two-integers
29-divide-two-integers
322-coin-change
322-coin-change
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
344-reverse-string
344-reverse-string
349-intersection-of-two-arrays
349-intersection-of-two-arrays
35-search-insert-position
35-search-insert-position
350-intersection-of-two-arrays-ii
350-intersection-of-two-arrays-ii
367-valid-perfect-square
367-valid-perfect-square
376-wiggle-subsequence
376-wiggle-subsequence
378-kth-smallest-element-in-a-sorted-matrix
378-kth-smallest-element-in-a-sorted-matrix
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
41-first-missing-positive
41-first-missing-positive
412-fizz-buzz
412-fizz-buzz
442-find-all-duplicates-in-an-array
442-find-all-duplicates-in-an-array
448-find-all-numbers-disappeared-in-an-array
448-find-all-numbers-disappeared-in-an-array
453-minimum-moves-to-equal-array-elements
453-minimum-moves-to-equal-array-elements
462-minimum-moves-to-equal-array-elements-ii
462-minimum-moves-to-equal-array-elements-ii
485-max-consecutive-ones
485-max-consecutive-ones
49-group-anagrams
49-group-anagrams
View all files
Repository files navigation
README
More
items
LeetCode-Problems
My LeetCode-problems solutions with Swift
About
No description, website, or topics provided.
Resources
Readme
Activity
Custom properties
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.