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
Type
/
to 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 }}
Nicksxs
/
myleetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
381 Commits
381 Commits
10-Regular-Expression-Matching
10-Regular-Expression-Matching
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
11-Container-With-Most-Water
11-Container-With-Most-Water
111-Minimum-Depth-of-Binary-Tree
111-Minimum-Depth-of-Binary-Tree
113-Path-Sum-II
113-Path-Sum-II
115-Distinct-Subsequences
115-Distinct-Subsequences
12-Integer-to-Roman
12-Integer-to-Roman
126-Word-Ladder-II
126-Word-Ladder-II
127-Word-Ladder
127-Word-Ladder
13-Roman-to-Integer
13-Roman-to-Integer
137-Single-Number-II
137-Single-Number-II
138-Copy-List-with-Random-Pointer
138-Copy-List-with-Random-Pointer
14-Longest-Common-Prefix
14-Longest-Common-Prefix
144-Binary-Tree-Preorder-Traversal
144-Binary-Tree-Preorder-Traversal
164-Maximum-Gap
164-Maximum-Gap
20-Valid-Parentheses
20-Valid-Parentheses
200-Number-of-Islands
200-Number-of-Islands
201-Bitwise-AND-of-Numbers-Range
201-Bitwise-AND-of-Numbers-Range
202-Happy-Number
202-Happy-Number
203-Remove-Linked-List-Elements
203-Remove-Linked-List-Elements
204-Count-Primes
204-Count-Primes
205-Isomorphic-Strings
205-Isomorphic-Strings
215-Kth-Largest-Element-in-an-Array
215-Kth-Largest-Element-in-an-Array
228-Summary-Ranges
228-Summary-Ranges
231-Power-of-Two
231-Power-of-Two
232-Implement-Queue-using-Stacks
232-Implement-Queue-using-Stacks
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
27-Remove-Element
27-Remove-Element
278-First-Bad-Version
278-First-Bad-Version
289-Game-of-Life
289-Game-of-Life
300-Longest-Increasing-Subsequence
300-Longest-Increasing-Subsequence
304-Range-Sum-Query-2D---Immutable
304-Range-Sum-Query-2D---Immutable
306-Additive-Number
306-Additive-Number
312-Burst-Balloons
312-Burst-Balloons
321-Create-Maximum-Number
321-Create-Maximum-Number
322-Coin-Change
322-Coin-Change
329-Longest-Increasing-Path-in-a-Matrix
329-Longest-Increasing-Path-in-a-Matrix
34-Search-for-a-Range
34-Search-for-a-Range
344-Reverse-String
344-Reverse-String
35-Search-Insert-Position
35-Search-Insert-Position
350-Intersection-of-Two-Arrays-II
350-Intersection-of-Two-Arrays-II
371-Sum-of-Two-Integers
371-Sum-of-Two-Integers
374-Guess-Number-Higher-or-Lower
374-Guess-Number-Higher-or-Lower
377-Combination-Sum-IV
377-Combination-Sum-IV
382-Linked-List-Random-Node
382-Linked-List-Random-Node
383-Ransom-Note
383-Ransom-Note
394-Decode-String
394-Decode-String
398-Random-Pick-Index
398-Random-Pick-Index
6-ZigZag-Conversion
6-ZigZag-Conversion
62-Unique-Paths
62-Unique-Paths
66-Plus-One
66-Plus-One
692-Top-K-Frequent-Words
692-Top-K-Frequent-Words
73-Set-Matrix-Zeroes
73-Set-Matrix-Zeroes
74-Search-a-2D-Matrix
74-Search-a-2D-Matrix
76-Minimum-Window-Substring
76-Minimum-Window-Substring
80-Remove-Duplicates-from-Sorted-Array-II
80-Remove-Duplicates-from-Sorted-Array-II
85-Maximal-Rectangle
85-Maximal-Rectangle
86-Partition-List
86-Partition-List
9-Palindrome-Number
9-Palindrome-Number
94-Binary-Tree-Inorder-Traversal
94-Binary-Tree-Inorder-Traversal
98-Validate-Binary-Search-Tree
98-Validate-Binary-Search-Tree
Algorithms
Algorithms
Database/
175
Database/
175
.gitignore
.gitignore
README.md
README.md
View all files
Repository files navigation
README
More
items
myleetcode
leetcode代码题解
About
leetcode代码题解
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.