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 }}
Derrickers
/
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
25 Commits
25 Commits
.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.