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 }}
jhygreatbug
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
Latest commit
History
25 Commits
25 Commits
Folders and files
Name
Name
Last commit message
Last commit date
001_Two_Sum
001_Two_Sum
002_Add_Two_Numbers
002_Add_Two_Numbers
003_Longest_Substring_Without_Repeating_Characters
003_Longest_Substring_Without_Repeating_Characters
004_Median_of_Two_Sorted_Arrays
004_Median_of_Two_Sorted_Arrays
005_Longest_Palindromic_Substring
005_Longest_Palindromic_Substring
006_ZigZag_Conversion
006_ZigZag_Conversion
007_Reverse_Integer
007_Reverse_Integer
008_String_to_Integer_(atoi)
008_String_to_Integer_(atoi)
009_Palindrome_Number
009_Palindrome_Number
010_Regular_Expression_Matching
010_Regular_Expression_Matching
011_Container_With_Most_Water
011_Container_With_Most_Water
012_Integer_to_Roman
012_Integer_to_Roman
013_Roman_to_Integer
013_Roman_to_Integer
014_Longest_Common_Prefix
014_Longest_Common_Prefix
015_3Sum
015_3Sum
016_3Sum_Closest
016_3Sum_Closest
017_Letter_Combinations_of_a_Phone_Number
017_Letter_Combinations_of_a_Phone_Number
018_4Sum
018_4Sum
019_Remove_Nth_Node_From_End_of_List
019_Remove_Nth_Node_From_End_of_List
020_Valid_Parentheses
020_Valid_Parentheses
021_Merge_Two_Sorted_Lists
021_Merge_Two_Sorted_Lists
022_Generate_Parentheses
022_Generate_Parentheses
023_Merge_k_Sorted_Lists
023_Merge_k_Sorted_Lists
024_Swap_Nodes_in_Pairs
024_Swap_Nodes_in_Pairs
025_Reverse_Nodes_in_k-Group
025_Reverse_Nodes_in_k-Group
026_Remove_Duplicates_from_Sorted_Array
026_Remove_Duplicates_from_Sorted_Array
027_Remove_Element
027_Remove_Element
028_Implement_strStr()
028_Implement_strStr()
029_Divide_Two_Integers
029_Divide_Two_Integers
030_Substring_with_Concatenation_of_AllWords
030_Substring_with_Concatenation_of_AllWords
031_Next_Permutation
031_Next_Permutation
032_Longest_Valid_Parentheses
032_Longest_Valid_Parentheses
033_Search_in_Rotated_Sorted_Array
033_Search_in_Rotated_Sorted_Array
034_Search_for_a_Range
034_Search_for_a_Range
035_Search_Insert_Position
035_Search_Insert_Position
036_Valid_Sudoku
036_Valid_Sudoku
037_Sudoku_Solver
037_Sudoku_Solver
038_Count_and_Say
038_Count_and_Say
039_Combination_Sum
039_Combination_Sum
040_Combination_Sum_II
040_Combination_Sum_II
041_First_Missing_Positive
041_First_Missing_Positive
042_Trapping_Rain_Water
042_Trapping_Rain_Water
043_Multiply_Strings
043_Multiply_Strings
046_Permutations
046_Permutations
047_Permutations_II
047_Permutations_II
048_Rotate_Image
048_Rotate_Image
049_Group_Anagrams
049_Group_Anagrams
050_Pow(x, n)
050_Pow(x, n)
051-100/
051_N-Queens
051-100/
051_N-Queens
.editorconfig
.editorconfig
.gitignore
.gitignore
View all files
About
https://leetcode.com,保留ac的代码
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.