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
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
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 }}
xis19
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
1
(
1
)
You must be signed in to star a repository
About
Solutions to LeetCode
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
732 Commits
732 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.ycm_extra_conf.py
.ycm_extra_conf.py
1.cpp
1.cpp
10.cpp
10.cpp
100.cpp
100.cpp
1002.cpp
1002.cpp
1003.cpp
1003.cpp
1004.cpp
1004.cpp
1005.cpp
1005.cpp
1006.cpp
1006.cpp
1007.cpp
1007.cpp
1007.rb
1007.rb
1008.cpp
1008.cpp
1009.cpp
1009.cpp
101.cpp
101.cpp
1010.cpp
1010.cpp
1013.cpp
1013.cpp
1014.cpp
1014.cpp
1018.cpp
1018.cpp
1019.cpp
1019.cpp
102.cpp
102.cpp
1020.cpp
1020.cpp
1021.py
1021.py
1022.cpp
1022.cpp
1023.cpp
1023.cpp
1026.cpp
1026.cpp
1029.cpp
1029.cpp
1037.kt
1037.kt
1038.cpp
1038.cpp
104.cpp
104.cpp
1041.cpp
1041.cpp
1046.cpp
1046.cpp
1047.cpp
1047.cpp
1048.cpp
1048.cpp
105.cpp
105.cpp
1056.cpp
1056.cpp
1058.cpp
1058.cpp
1061.py
1061.py
1063.py
1063.py
1064.cpp
1064.cpp
1065.rb
1065.rb
107.cpp
107.cpp
1071.rb
1071.rb
1075.sql
1075.sql
1078.rb
1078.rb
108.cpp
108.cpp
1080.cpp
1080.cpp
1085.cpp
1085.cpp
1086.rb
1086.rb
1087.py
1087.py
1089.cpp
1089.cpp
109.cpp
109.cpp
1090.cpp
1090.cpp
1091.cpp
1091.cpp
1094.rb
1094.rb
1099.cpp
1099.cpp
110.cpp
110.cpp
1100.cpp
1100.cpp
1102.py
1102.py
1103.cpp
1103.cpp
1104.cpp
1104.cpp
1106.rb
1106.rb
1108.cpp
1108.cpp
1109.cpp
1109.cpp
111.cpp
111.cpp
1114.cpp
1114.cpp
1118.rb
1118.rb
1119.rb
1119.rb
112.cpp
112.cpp
1122.rb
1122.rb
1123.cpp
1123.cpp
1128.cpp
1128.cpp
1129.cpp
1129.cpp
113.cpp
113.cpp
1133.rb
1133.rb
1134.cpp
1134.cpp
1135.cpp
1135.cpp
1136.cpp
1136.cpp
1137.cpp
1137.cpp
1138.cpp
1138.cpp
114.cpp
114.cpp
1143.cpp
1143.cpp
1146.cpp
1146.cpp
1150.kt
1150.kt
1151.cpp
1151.cpp
1152.py
1152.py
1154.kt
1154.kt
1160.cpp
1160.cpp
1161.cpp
1161.cpp
1165.cpp
1165.cpp
1170.cpp
1170.cpp
1171.cpp
1171.cpp
1175.kt
1175.kt
1176.kt
1176.kt
118.cpp
118.cpp
1180.cpp
1180.cpp
1181.py
1181.py
1184.kt
1184.kt
1189.kt
1189.kt
119.cpp
119.cpp
1190.py
1190.py
View all files
Repository files navigation
README
More
items
Solutions to LeetCode questions
About
Solutions to LeetCode
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.