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 }}
byegates
/
Algorithms
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
15
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
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
1,007 Commits
1,007 Commits
OOD
OOD
Solutions
Solutions
Tree
Tree
Trie
Trie
resources
resources
test
test
util
util
.gitignore
.gitignore
AllAnagrams.java
AllAnagrams.java
AllPermutationsOfSubsets.java
AllPermutationsOfSubsets.java
AllSubsets.java
AllSubsets.java
AllSubsetsIIofSizeK.java
AllSubsetsIIofSizeK.java
AllValidPermutationsOfParenthesesI.java
AllValidPermutationsOfParenthesesI.java
AllValidPermutationsOfParenthesesII.java
AllValidPermutationsOfParenthesesII.java
AllValidPermutationsOfParenthesesIII.java
AllValidPermutationsOfParenthesesIII.java
ArraySingleDirectionCount.java
ArraySingleDirectionCount.java
CanIWin.java
CanIWin.java
CenterOfGravity.java
CenterOfGravity.java
CoinChangeII.java
CoinChangeII.java
Compress.java
Compress.java
CountAndSay.java
CountAndSay.java
CuttingWood.java
CuttingWood.java
DeDup.java
DeDup.java
DecodeWays.java
DecodeWays.java
Decompress.java
Decompress.java
EditDistance.java
EditDistance.java
EvaluateReversePolishNotation.java
EvaluateReversePolishNotation.java
FactorCombinations.java
FactorCombinations.java
FlipGameII.java
FlipGameII.java
GenerateRandomMaze.java
GenerateRandomMaze.java
InfiniteLoopAroundTheDinnerTable.java
InfiniteLoopAroundTheDinnerTable.java
InsertionSort.java
InsertionSort.java
InsertionSortLinkedList.java
InsertionSortLinkedList.java
KeepDistanceForIdenticalElements.java
KeepDistanceForIdenticalElements.java
KthClosestPointTo000.java
KthClosestPointTo000.java
KthSmallestWithOnly3_5_7AsFactors.java
KthSmallestWithOnly3_5_7AsFactors.java
LICENSE
LICENSE
LargestProductOfLength.java
LargestProductOfLength.java
LargestRectangleOf1s.java
LargestRectangleOf1s.java
LargestSquareOfMatches.java
LargestSquareOfMatches.java
LargestSquareOfOnes.java
LargestSquareOfOnes.java
LargestSquareSurroundedByOne.java
LargestSquareSurroundedByOne.java
LargestSubMatrixSum.java
LargestSubMatrixSum.java
LargestSumOfValidNumbers.java
LargestSumOfValidNumbers.java
LargestXOf1s.java
LargestXOf1s.java
LongestAscendingSubsequence.java
LongestAscendingSubsequence.java
LongestCommonSubsequence.java
LongestCommonSubsequence.java
LongestConsecutiveOnes.java
LongestConsecutiveOnes.java
LongestCrossOf1s.java
LongestCrossOf1s.java
LongestPalindromicSubstring.java
LongestPalindromicSubstring.java
MajorityNumber.java
MajorityNumber.java
MaxWaterTrapped2D.java
MaxWaterTrapped2D.java
MaxWaterTrappedI.java
MaxWaterTrappedI.java
MedianOfTwoArrays.java
MedianOfTwoArrays.java
MergeKSortedArray.java
MergeKSortedArray.java
MergeSort.java
MergeSort.java
MinGlassesToPourWater.java
MinGlassesToPourWater.java
MinimumCutsForPalindromes.java
MinimumCutsForPalindromes.java
MostPointsOnALine.java
MostPointsOnALine.java
MultiThreading.java
MultiThreading.java
NQueens.java
NQueens.java
NestedListWeightSum.java
NestedListWeightSum.java
PacificAtlanticFlow.java
PacificAtlanticFlow.java
PackingUpTheSwags.java
PackingUpTheSwags.java
QuickSortLinkedList.java
QuickSortLinkedList.java
README.md
README.md
RainbowSortIII.java
RainbowSortIII.java
RestoreIPAddresses.java
RestoreIPAddresses.java
ReverseNodesInKGroup.java
ReverseNodesInKGroup.java
RotateListbyKplaces.java
RotateListbyKplaces.java
RotateMatrix.java
RotateMatrix.java
SearchInShiftedSortedArray.java
SearchInShiftedSortedArray.java
SearchInSortedMatrixII.java
SearchInSortedMatrixII.java
SelectionSortLinkedList.java
SelectionSortLinkedList.java
SevenPuzzle.java
SevenPuzzle.java
SortInSpecifiedOrder.java
SortInSpecifiedOrder.java
SortNumbersInThreeStacks.java
SortNumbersInThreeStacks.java
SortWithTwoStacks.java
SortWithTwoStacks.java
Sudoku.java
Sudoku.java
TotalOccurrence.java
TotalOccurrence.java
Translator.java
Translator.java
TwoSubsetsWithMinDifference.java
TwoSubsetsWithMinDifference.java
WordBreakCount.java
WordBreakCount.java
WordSearch.java
WordSearch.java
XorGreaterThanAndPair.java
XorGreaterThanAndPair.java
nSums.java
nSums.java
View all files
Repository files navigation
README
MIT license
More
items
Algorithms Practices in Java
About
No description, website, or topics provided.
Resources
Readme
MIT license
Activity
Stars
15
stars
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.