← 输入框
|
github.com
|
刷新
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
Team
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 }}
feiyutalk
leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
leetcode
/
problems
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
leetcode
/
problems
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
001. Two Sum
001. Two Sum
002. Add Two Numbers
002. Add Two Numbers
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)
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
026. Remove Duplicates from Sorted Array
026. Remove Duplicates from Sorted Array
027. Remove Element
027. Remove Element
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
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
044. Wildcard Matching
044. Wildcard Matching
046. Permutations
046. Permutations
050. Pow(x, n)
050. Pow(x, n)
053. Maximum Subarray
053. Maximum Subarray
055. Jump Game
055. Jump Game
056. Merge Intervals
056. Merge Intervals
058. Length of Last Word
058. Length of Last Word
059. Spiral Matrix II
059. Spiral Matrix II
061. Rotate List
061. Rotate List
062. Unique Paths
062. Unique Paths
063. Unique Paths II
063. Unique Paths II
064. Minimum Path Sum
064. Minimum Path Sum
066. Plus One
066. Plus One
067. Add Binary
067. Add Binary
069. Sqrt(x)
069. Sqrt(x)
070. Climbing Stairs
070. Climbing Stairs
071. Simplify Path
071. Simplify Path
072. Edit Distance
072. Edit Distance
073. Set Matrix Zeroes
073. Set Matrix Zeroes
074. Search a 2D Matrix
074. Search a 2D Matrix
075. Sort Colors
075. Sort Colors
077. Combinations
077. Combinations
078. Subsets
078. Subsets
079. Word Search
079. Word Search
080. Remove Duplicates from Sorted Array II
080. Remove Duplicates from Sorted Array II
082. Remove Duplicates from Sorted List II
082. Remove Duplicates from Sorted List II
083. Remove Duplicates from Sorted List
083. Remove Duplicates from Sorted List
084. Largest Rectangle in Histogram
084. Largest Rectangle in Histogram
085. Maximal Rectangle
085. Maximal Rectangle
086. Partition List
086. Partition List
087. Scramble String
087. Scramble String
090. Subsets II
090. Subsets II
091. Decode Ways
091. Decode Ways
094. Binary Tree Inorder Traversal
094. Binary Tree Inorder Traversal
095. Unique Binary Search Trees II
095. Unique Binary Search Trees II
096. Unique Binary Search Trees
096. Unique Binary Search Trees
097. Interleaving String
097. Interleaving String
098. Validate Binary Search Tree
098. Validate Binary Search Tree
101. Symmetric Tree
101. Symmetric Tree
104. Maximum Depth of Binary Tree
104. Maximum Depth of Binary Tree
105. Construct Binary Tree from Preorder and Inorder Traversal
105. Construct Binary Tree from Preorder and Inorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
107. Binary Tree Level Order Traversal II
107. Binary Tree Level Order Traversal II
109. Convert Sorted List to Binary Search Tree
109. Convert Sorted List to Binary Search Tree
110. Balanced Binary Tree
110. Balanced Binary 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
115. Distinct Subsequences
115. Distinct Subsequences
117. Populating Next Right Pointers in Each Node II
117. Populating Next Right Pointers in Each Node II
118. Pascal's Triangle
118. Pascal's Triangle
120. Triangle
120. Triangle
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
123. Best Time to Buy and Sell Stock III
123. Best Time to Buy and Sell Stock III
124. Binary Tree Maximum Path Sum
124. Binary Tree Maximum Path Sum
125. Valid Palindrome
125. Valid Palindrome
126. Word Ladder II
126. Word Ladder II
127. Word Ladder
127. Word Ladder
129. Sum Root to Leaf Numbers
129. Sum Root to Leaf Numbers
132. Palindrome Partitioning II
132. Palindrome Partitioning II
134. Gas Station
134. Gas Station
135. Candy
135. Candy
136. Single Number
136. Single Number
137. Single Number II
137. Single Number II
139. Word Break
139. Word Break
140. Word Break II
140. Word Break II
View all files
You can’t perform that action at this time.