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 }}
leobuzhi
algorithm
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
algorithm
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
3
(
3
)
You must be signed in to star a repository
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
3
stars
Watchers
0
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
97 Commits
97 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Add.cpp
Add.cpp
CQueue.cpp
CQueue.cpp
ChineseChess.cpp
ChineseChess.cpp
ConstructTree.cpp
ConstructTree.cpp
Find.cpp
Find.cpp
Float.cpp
Float.cpp
Kth_element.cpp
Kth_element.cpp
LIS.cpp
LIS.cpp
LoopRightMoveK.cpp
LoopRightMoveK.cpp
NimGame.cpp
NimGame.cpp
PrintListReversingly_Iteratively.cpp
PrintListReversingly_Iteratively.cpp
README.md
README.md
ReplaceBlacnk.cpp
ReplaceBlacnk.cpp
StringAssignOperator.cpp
StringAssignOperator.cpp
StringToInt.cpp
StringToInt.cpp
TheCountOfZero.cpp
TheCountOfZero.cpp
ThePositionOfOne.cpp
ThePositionOfOne.cpp
addDigits.cpp
addDigits.cpp
bulbSwitch.cpp
bulbSwitch.cpp
canWinNim.cpp
canWinNim.cpp
containsDuplicate.cpp
containsDuplicate.cpp
containsNearbyDuplicate.cpp
containsNearbyDuplicate.cpp
countBits.cpp
countBits.cpp
deleteDuplicates.cpp
deleteDuplicates.cpp
deleteNode.cpp
deleteNode.cpp
findDuplicate.cpp
findDuplicate.cpp
findMin.cpp
findMin.cpp
hasCycle.cpp
hasCycle.cpp
inorderTraversal.cpp
inorderTraversal.cpp
integerBreak.cpp
integerBreak.cpp
intersection.cpp
intersection.cpp
invertTree.cpp
invertTree.cpp
isAnagram.cpp
isAnagram.cpp
isHappy.cpp
isHappy.cpp
isPowerOfFour.cpp
isPowerOfFour.cpp
isPowerOfThree.cpp
isPowerOfThree.cpp
isPowerOfTwo.cpp
isPowerOfTwo.cpp
isSameTree.cpp
isSameTree.cpp
isUgly.cpp
isUgly.cpp
lowestCommonAncestor.cpp
lowestCommonAncestor.cpp
majorityElement.cpp
majorityElement.cpp
maxDepth.cpp
maxDepth.cpp
maxProduct.cpp
maxProduct.cpp
maxProfit.cpp
maxProfit.cpp
maxSubArray.cpp
maxSubArray.cpp
memcpy.cpp
memcpy.cpp
mergeTwoLists.cpp
mergeTwoLists.cpp
minPathSum.cpp
minPathSum.cpp
missingNumber.cpp
missingNumber.cpp
moveZeroes.cpp
moveZeroes.cpp
numTrees.cpp
numTrees.cpp
oddEvenList.cpp
oddEvenList.cpp
plusOne.cpp
plusOne.cpp
postorderTraversal.cpp
postorderTraversal.cpp
preorderTraversal.cpp
preorderTraversal.cpp
removeDuplicates.cpp
removeDuplicates.cpp
removeElement.cpp
removeElement.cpp
reverseList.cpp
reverseList.cpp
reverseVowels.cpp
reverseVowels.cpp
reverseWords.cpp
reverseWords.cpp
romanToInt.cpp
romanToInt.cpp
searchInsert.cpp
searchInsert.cpp
singleNumber.cpp
singleNumber.cpp
singleNumberII.cpp
singleNumberII.cpp
singleNumberIII.cpp
singleNumberIII.cpp
sortColors.cpp
sortColors.cpp
sortedArrayToBST.cpp
sortedArrayToBST.cpp
titleToNumber.cpp
titleToNumber.cpp
topKFrequent.cpp
topKFrequent.cpp
wordPattern.cpp
wordPattern.cpp
View all files
Repository files navigation
README
More
items
algorithm code
About
No description, website, or topics provided.
Resources
Readme
Activity
Stars
3
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.