Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
GitHub Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
Explore
All features
Documentation
GitHub Skills
Blog
Solutions
By size
Enterprise
Teams
Startups
By industry
Healthcare
Financial services
Manufacturing
By use case
CI/CD & Automation
DevOps
DevSecOps
Resources
Topics
AI
DevOps
Security
Software Development
Explore
Learning Pathways
White papers, Ebooks, Webinars
Customer Stories
Partners
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
Advanced Security
Enterprise-grade security features
GitHub Copilot
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
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 }}
sherxon
/
AlgoDS
Public
Notifications
You must be signed in to change notification settings
Fork
610
Star
3.4k
Code
Issues
5
Pull requests
16
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
master
Breadcrumbs
AlgoDS
/
src
/
problems
/
easy
/
Directory actions
More options
Directory actions
More options
Latest commit
History
History
master
Breadcrumbs
AlgoDS
/
src
/
problems
/
easy
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
AddBinary.java
AddBinary.java
AddDigits.java
AddDigits.java
AddStrings.java
AddStrings.java
AlternatingBits.java
AlternatingBits.java
ArrangingCoins.java
ArrangingCoins.java
AssignCookies.java
AssignCookies.java
AverageofLevelsinBinaryTree.java
AverageofLevelsinBinaryTree.java
BalancedBinaryTree.java
BalancedBinaryTree.java
BaseballGame.java
BaseballGame.java
BestTimeToBuyandSellStock2.java
BestTimeToBuyandSellStock2.java
BestTimetoBuyandSellStock.java
BestTimetoBuyandSellStock.java
BinaryTreeLevelOrderTraversal.java
BinaryTreeLevelOrderTraversal.java
BinaryTreeLevelOrderTraversal2.java
BinaryTreeLevelOrderTraversal2.java
BinaryTreePaths.java
BinaryTreePaths.java
BinaryTreeTIlt.java
BinaryTreeTIlt.java
CanPlaceFlowers.java
CanPlaceFlowers.java
ClimbingStairs.java
ClimbingStairs.java
ConstructRectangle.java
ConstructRectangle.java
ConstructStringfromBinaryTree.java
ConstructStringfromBinaryTree.java
ContainsDuplicate.java
ContainsDuplicate.java
ContainsDuplicateII.java
ContainsDuplicateII.java
ConverstBSTtoGreaterTree.java
ConverstBSTtoGreaterTree.java
ConvertaNumbertoHexadecimal.java
ConvertaNumbertoHexadecimal.java
CountAndSay.java
CountAndSay.java
CountPrimes.java
CountPrimes.java
DegreeOfAnArray.java
DegreeOfAnArray.java
DeleteNodeSingleLinkedList.java
DeleteNodeSingleLinkedList.java
DiameterofBinaryTree.java
DiameterofBinaryTree.java
FileSystem.java
FileSystem.java
FindAllAnagramsinString.java
FindAllAnagramsinString.java
FindAllNumbersDisappearedinanArray.java
FindAllNumbersDisappearedinanArray.java
FindModeinBST.java
FindModeinBST.java
FindPivotIndex.java
FindPivotIndex.java
FindSmallestLetterGreaterThanTarget.java
FindSmallestLetterGreaterThanTarget.java
FindSumOfALlLeftLeavesBT.java
FindSumOfALlLeftLeavesBT.java
FindtheDifference389.java
FindtheDifference389.java
FirstUniqueCharacterinaString.java
FirstUniqueCharacterinaString.java
FirstbadVersion.java
FirstbadVersion.java
FizzBuzz.java
FizzBuzz.java
FlippinganImage.java
FlippinganImage.java
GenerateParenthesis.java
GenerateParenthesis.java
GuessNumberHigherorLower.java
GuessNumberHigherorLower.java
HammingDistance.java
HammingDistance.java
HappyNumber.java
HappyNumber.java
HouseRobber.java
HouseRobber.java
ImageSmoother.java
ImageSmoother.java
ImplementQueueusingStacks.java
ImplementQueueusingStacks.java
ImplementStackUsingQueues.java
ImplementStackUsingQueues.java
ImplementstrSt.java
ImplementstrSt.java
InsertionBit.java
InsertionBit.java
IntersectOfTwoArrray2.java
IntersectOfTwoArrray2.java
IntersectionOfTwoArrays.java
IntersectionOfTwoArrays.java
IntersectionofTwoLinkedLists.java
IntersectionofTwoLinkedLists.java
InvertBinaryTree.java
InvertBinaryTree.java
IslandPerimeter.java
IslandPerimeter.java
IsomorphicStrings.java
IsomorphicStrings.java
JewelsAndStones.java
JewelsAndStones.java
JudgeRouteCircle.java
JudgeRouteCircle.java
LargestDifferenceArray.java
LargestDifferenceArray.java
LeafSimilarTrees.java
LeafSimilarTrees.java
LemonadeChange.java
LemonadeChange.java
LengthofLastWord.java
LengthofLastWord.java
LetterCasePermutation.java
LetterCasePermutation.java
LinkedListCycle.java
LinkedListCycle.java
LongestCommonPrefix.java
LongestCommonPrefix.java
LongestContinuousIncreasingSubsequence.java
LongestContinuousIncreasingSubsequence.java
LongestHarmoniousSubsequence.java
LongestHarmoniousSubsequence.java
LongestPalindrome.java
LongestPalindrome.java
LowestCommonAncestorBST.java
LowestCommonAncestorBST.java
MagicalString.java
MagicalString.java
MajorityElement.java
MajorityElement.java
MaxAreaOfIsland.java
MaxAreaOfIsland.java
MaxConsecutiveZeros.java
MaxConsecutiveZeros.java
MaximizeDistancetoClosestPerson.java
MaximizeDistancetoClosestPerson.java
MaximumDepthofBinaryTree.java
MaximumDepthofBinaryTree.java
MergeSortedArray.java
MergeSortedArray.java
MergeTwoSortedLists.java
MergeTwoSortedLists.java
MiddleoftheLinkedList.java
MiddleoftheLinkedList.java
MinCostClimbingStairs.java
MinCostClimbingStairs.java
MinStack.java
MinStack.java
MinimumAbsoluteDifferenceinBST.java
MinimumAbsoluteDifferenceinBST.java
MinimumDepthofBinaryTree.java
MinimumDepthofBinaryTree.java
MinimumDistanceBetweenBSTNodes.java
MinimumDistanceBetweenBSTNodes.java
MinimumMovesToEqualArray.java
MinimumMovesToEqualArray.java
MinimumTimeDifference.java
MinimumTimeDifference.java
MostCommonWord.java
MostCommonWord.java
NumberComplement.java
NumberComplement.java
NumberofSegmentsinaString.java
NumberofSegmentsinaString.java
PaintFill.java
PaintFill.java
Palindrome2.java
Palindrome2.java
PalindromeLinkedList.java
PalindromeLinkedList.java
PalindromeNumber.java
PalindromeNumber.java
PalindromePermutation.java
PalindromePermutation.java
Pangram.java
Pangram.java
PascalsTriangle.java
PascalsTriangle.java
PascalsTriangle2.java
PascalsTriangle2.java
PathSum.java
PathSum.java
PathSum3.java
PathSum3.java
PerfectNumber.java
PerfectNumber.java
PositionsofLargeGroups.java
PositionsofLargeGroups.java
View all files
You can’t perform that action at this time.