Skip to content
Navigation Menu
Toggle navigation
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
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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
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
Appearance settings
Resetting focus
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
TheAlgorithms
/
Java
Public
Notifications
You must be signed in to change notification settings
Fork
21.2k
Star
65.9k
Code
Issues
6
Pull requests
9
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
Java
src
main
java
com
thealgorithms
misc
on
master
User selector
All users
All time
Commit history
Commits on Jun 24, 2026
refactor: review and group scattered palindrome implementation (#7487)
Show description for 51137a1
priyanshuvishwakarma273403
authored
51137a1
Copy full SHA for 51137a1
Commits on Jul 11, 2025
cleanup: Improve docs, safety, and readability in `RangeInSortedArray` (#6361)
Show description for 0a4f554
alxkm
and
DenizAltunkapan
authored
0a4f554
Copy full SHA for 0a4f554
Commits on Jul 9, 2025
refactor: improve Sparsity class with input validation and clearer logic (#6351)
Show description for a6aadd5
alxkm
and
DenizAltunkapan
authored
a6aadd5
Copy full SHA for a6aadd5
refactor ShuffleArray: improve documentation and maintainability (#6357)
Show description for c997a32
alxkm
authored
c997a32
Copy full SHA for c997a32
Commits on Jul 7, 2025
refactor: improve median calculator class design and readability (#6349)
alxkm
authored
2f5bc8c
Copy full SHA for 2f5bc8c
Commits on Jul 6, 2025
refactor: improve code and test coverage for `MapReduce` example (#6348)
Show description for 4b6006c
alxkm
authored
4b6006c
Copy full SHA for 4b6006c
Commits on Jun 5, 2025
chore: suppress `rawtypes` in selected classes (#6261)
vil02
authored
ec6f09c
Copy full SHA for ec6f09c
Commits on Jan 27, 2025
Create package prime, matrix and games (#6139)
varada610
authored
4ef0682
Copy full SHA for 4ef0682
Commits on Jan 11, 2025
Refactor files to be in correctly nested packages (#6120)
varada610
authored
1e6ed97
Copy full SHA for 1e6ed97
Commits on Oct 29, 2024
Add shuffle array (#6026)
rashi07dashore
authored
b14db81
Copy full SHA for b14db81
Commits on Oct 15, 2024
Add tests, remove `main`, fix bug in `Sparsity` (#5780)
Hardvan
authored
3e10f8f
Copy full SHA for 3e10f8f
Add tests, remove main in PalindromePrime (#5773)
Hardvan
authored
640d823
Copy full SHA for 640d823
Commits on Oct 14, 2024
style: include `OCP_OVERLY_CONCRETE_PARAMETER` (#5833)
vil02
authored
8886e09
Copy full SHA for 8886e09
Add tests, remove `main` in `ThreeSumProblem` (#5781)
Hardvan
authored
6ef1f7c
Copy full SHA for 6ef1f7c
Add tests, remove `main` in `WordBoggle` (#5782)
Hardvan
authored
bcf4034
Copy full SHA for bcf4034
Add tests, remove `main` in `EulerMethod` (#5771)
Hardvan
authored
8d88349
Copy full SHA for 8d88349
Add tests, remove `main` in `RangeInSortedArray` (#5778)
Hardvan
authored
e19378d
Copy full SHA for e19378d
Commits on Oct 7, 2024
Add palindrome singly linkedlist optimised approach (#5617)
Nandini-Pandey
authored
6868bf8
Copy full SHA for 6868bf8
Commits on Oct 3, 2024
feat: Remove duplicate implementation of Dutch National Flag Sort Algorithm (#5541)
Show description for 48a2980
sailok
and
sailok.chinta
authored
48a2980
Copy full SHA for 48a2980
Commits on Sep 21, 2024
refactor: `ColorContrastRatio` (#5457)
alxkm
authored
63fa042
Copy full SHA for 63fa042
Commits on Sep 9, 2024
refactor: `InverseOfMatrix` (#5446)
Show description for 65e3264
alxkm
authored
65e3264
Copy full SHA for 65e3264
Commits on Aug 16, 2024
chore: fix some comments (#5333)
mountdisk
authored
7c58b19
Copy full SHA for 7c58b19
Commits on Aug 8, 2024
Refactored Identifiers (#5306)
Show description for cafea1e
congyuluo
and
BamaCharanChhandogi
authored
cafea1e
Copy full SHA for cafea1e
Commits on Jun 14, 2024
style: enable `AvoidNestedBlocks` in checkstyle (#5228)
Show description for cdb3aff
3 people
authored
cdb3aff
Copy full SHA for cdb3aff
Commits on Jun 8, 2024
style: enable `TypeName` (#5214)
Show description for a81fb32
StarDxxx
and
vil02
authored
a81fb32
Copy full SHA for a81fb32
Commits on May 27, 2024
style: enable `MethodName` in CheckStyle (#5182)
Show description for 295e743
CodaBlurd
authored
295e743
Copy full SHA for 295e743
Commits on May 26, 2024
style: enable `MissingSwitchDefault` in checkstyle (#5179)
Show description for 37c2a96
BamaCharanChhandogi
authored
37c2a96
Copy full SHA for 37c2a96
Commits on May 25, 2024
style: enable `MultipleVariableDeclarations` in checkstyle (#5175)
Show description for 9eaa2bb
vaibhav9t1
and
vaibhavw-techp
authored
9eaa2bb
Copy full SHA for 9eaa2bb
Commits on May 8, 2024
style: enable `HideUtilityClassConstructor` in checkstyle (#5147)
vil02
authored
d3bb691
Copy full SHA for d3bb691
Commits on May 5, 2024
style: enable `AvoidStarImport` in checkstyle (#5141)
vil02
authored
414835d
Copy full SHA for 414835d
Commits on May 3, 2024
style: enable `RedundantModifier` in checkstyle (#5140)
vil02
authored
b3903f5
Copy full SHA for b3903f5
Commits on May 1, 2024
style: include `IM_AVERAGE_COMPUTATION_COULD_OVERFLOW` (#5131)
vil02
authored
2513ccd
Copy full SHA for 2513ccd
Commits on Mar 15, 2024
Parameterize references to generic types. (#5078)
Show description for 192427a
sozelfist
and
vil02
authored
192427a
Copy full SHA for 192427a
Commits on Oct 25, 2023
Added MapReduce Algorithm in Misc Folder. (#4828)
Show description for a4711d6
aakiliqbal
authored
a4711d6
Copy full SHA for a4711d6
Commits on Oct 19, 2023
Fixed typo error for better readability (#4835)
ironspec07
authored
f3345d9
Copy full SHA for f3345d9
Previous
Next
You can’t perform that action at this time.