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
Events
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 }}
Derrickers
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
0
(
0
)
You must be signed in to star a repository
About
LeetCode解题代码
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
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
.DS_Store
.DS_Store
100_isSameTree.cpp
100_isSameTree.cpp
101_isSymmetric.cpp
101_isSymmetric.cpp
102_levelOrder.cpp
102_levelOrder.cpp
103_zigzagLevelOrder.cpp
103_zigzagLevelOrder.cpp
104_maxDepth.cpp
104_maxDepth.cpp
105_buildTree.cpp
105_buildTree.cpp
106_buildTree.cpp
106_buildTree.cpp
107_levelOrderBottom.cpp
107_levelOrderBottom.cpp
108_sortedArrayToBST.cpp
108_sortedArrayToBST.cpp
111_minDepth.cpp
111_minDepth.cpp
112_hasPathSum.cpp
112_hasPathSum.cpp
118_generate.cpp
118_generate.cpp
119_getRow.cpp
119_getRow.cpp
11_maxArea.cpp
11_maxArea.cpp
121_maxProfit.cpp
121_maxProfit.cpp
122_maxProfit.cpp
122_maxProfit.cpp
125_isPalindrome.cpp
125_isPalindrome.cpp
128_longestConsecutive.cpp
128_longestConsecutive.cpp
129_sumNumbers.cpp
129_sumNumbers.cpp
12_intToRoman.cpp
12_intToRoman.cpp
130_solve.cpp
130_solve.cpp
136_singleNumber.cpp
136_singleNumber.cpp
13_romanToInt.cpp
13_romanToInt.cpp
141_hasCycle.cpp
141_hasCycle.cpp
143_reorderList.cpp
143_reorderList.cpp
144_preorderTraversal.cpp
144_preorderTraversal.cpp
147_insertionSortList.cpp
147_insertionSortList.cpp
14_longestCommonPrefix.cpp
14_longestCommonPrefix.cpp
150_evalRPN.cpp
150_evalRPN.cpp
151_reverseWords.cpp
151_reverseWords.cpp
155_MinStack.cpp
155_MinStack.cpp
15_threeSum.cpp
15_threeSum.cpp
160_getIntersectionNode.cpp
160_getIntersectionNode.cpp
162_findPeakElement.cpp
162_findPeakElement.cpp
165_compareversion.cpp
165_compareversion.cpp
167_twoSum.cpp
167_twoSum.cpp
169_majorityElement.cpp
169_majorityElement.cpp
16_threeSumClosest.cpp
16_threeSumClosest.cpp
171_titleToNumber.cpp
171_titleToNumber.cpp
172_trailingZeroes.cpp
172_trailingZeroes.cpp
173_BSTIterator.cpp
173_BSTIterator.cpp
17_letterCombinations.cpp
17_letterCombinations.cpp
189_rotate.coo
189_rotate.coo
189_rotate.cpp
189_rotate.cpp
190_reverseBits.cpp
190_reverseBits.cpp
191_hammingWeight.cpp
191_hammingWeight.cpp
198_rob.cpp
198_rob.cpp
199_rightSideView.cpp
199_rightSideView.cpp
19_removeNthFromEnd.cpp
19_removeNthFromEnd.cpp
1_twoSum.cpp
1_twoSum.cpp
200_numsIslands.cpp
200_numsIslands.cpp
202_isHappy.cpp
202_isHappy.cpp
203_removeElements.cpp
203_removeElements.cpp
204_countPrimes.cpp
204_countPrimes.cpp
205_isIsomorphic.cpp
205_isIsomorphic.cpp
206_reverseList.cpp
206_reverseList.cpp
207_canFinish.cpp
207_canFinish.cpp
208_Trie.cpp
208_Trie.cpp
209_minSubArrayLen.cpp
209_minSubArrayLen.cpp
20_isValid.cpp
20_isValid.cpp
210_findOrder.cpp
210_findOrder.cpp
211_WordDictionary.cpp
211_WordDictionary.cpp
215_findKthLargest.java
215_findKthLargest.java
216_combinationSum3.java
216_combinationSum3.java
217_containsDuplicate.java
217_containsDuplicate.java
219_containsNearbyDuplicate.java
219_containsNearbyDuplicate.java
21_mergeTwoLists.cpp
21_mergeTwoLists.cpp
222_countNodes.java
222_countNodes.java
223_computeArea.java
223_computeArea.java
226_invertTree.java
226_invertTree.java
228_summaryRanges.java
228_summaryRanges.java
229_majorityElement.java
229_majorityElement.java
22_generateParenthesis.cpp
22_generateParenthesis.cpp
230_kthSmallest.java
230_kthSmallest.java
231_isPowerOfTwo.java
231_isPowerOfTwo.java
234_isPalindrome.java
234_isPalindrome.java
235_lowestCommonAncestor.java
235_lowestCommonAncestor.java
236_lowestCommonAncestor.java
236_lowestCommonAncestor.java
237_deleteNode.java
237_deleteNode.java
238_productExceptSelf.java
238_productExceptSelf.java
23_mergeKLists.cpp
23_mergeKLists.cpp
240_searchMatrix.java
240_searchMatrix.java
242_isAnagram.java
242_isAnagram.java
257_binaryTreePaths.java
257_binaryTreePaths.java
258_addDigits.java
258_addDigits.java
260_singleNumber.java
260_singleNumber.java
263_isUgly.java
263_isUgly.java
264_nthUglyNumber.java
264_nthUglyNumber.java
268_missingNumber.java
268_missingNumber.java
2_addRwoNumbers.cpp
2_addRwoNumbers.cpp
32_longestValidParenthess.cpp
32_longestValidParenthess.cpp
33_search.cpp
33_search.cpp
34_searchRange.cpp
34_searchRange.cpp
39_combinationSum.cpp
39_combinationSum.cpp
3_lengthOfLongestSubstring.cpp
3_lengthOfLongestSubstring.cpp
409_longestPalindrome.cpp
409_longestPalindrome.cpp
40_combinationSum2.cpp
40_combinationSum2.cpp
41_firstMissingPositive.cpp
41_firstMissingPositive.cpp
45_jump.cpp
45_jump.cpp
View all files
Repository files navigation
README
More
items
LeetCode
LeetCode解题代码
About
LeetCode解题代码
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.