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 }}
sohamcodes-ctrl
Java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
Java
src
test
java
com
thealgorithms
graph
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 15, 2026
feat(graph): add DSU-based account merge algorithm (#7377)
Show description for b3e31b5
nickzerjeski
authored
b3e31b5
View commit details
Copy full SHA for b3e31b5
View code at this point
Browse repository at this point
Commits on Mar 28, 2026
feat(graph): implement Tarjan's Bridge-Finding Algorithm (#7346)
Show description for 227355e
Keykyrios
and
DenizAltunkapan
authored
227355e
View commit details
Copy full SHA for 227355e
View code at this point
Browse repository at this point
Commits on Nov 28, 2025
feat: Added Gomory–Hu Tree (all-pairs min-cuts via n1 max-flows) (#6818)
Show description for 4c5525a
SamXop123
and
DenizAltunkapan
authored
4c5525a
View commit details
Copy full SHA for 4c5525a
View code at this point
Browse repository at this point
Commits on Nov 2, 2025
feat: Add Hierholzer's Algorithm for Eulerian Circuits (#6726)
Show description for d717ca4
sairamsharan
authored
d717ca4
View commit details
Copy full SHA for d717ca4
View code at this point
Browse repository at this point
Commits on Oct 29, 2025
feat: Add Stoer-Wagner Algorithm for Minimum Cut (#6752)
Show description for bb6385e
sairamsharan
authored
bb6385e
View commit details
Copy full SHA for bb6385e
View code at this point
Browse repository at this point
Commits on Oct 17, 2025
Hierholzer path algorithm (#6822)
Show description for 6b7d201
quantambites
and
crashmovies
authored
6b7d201
View commit details
Copy full SHA for 6b7d201
View code at this point
Browse repository at this point
Commits on Oct 16, 2025
feat: Add Hungarian Algorithm (Assignment Problem) with tests and reference [GRAPHS] (#6808)
Show description for fb5a765
SamXop123
authored
fb5a765
View commit details
Copy full SHA for fb5a765
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
feat(graph): add Push–Relabel max flow with tests and index (#6793)
Show description for 1437036
SamXop123
and
alxkm
authored
1437036
View commit details
Copy full SHA for 1437036
View code at this point
Browse repository at this point
Commits on Oct 13, 2025
Add Yen’s K-shortest loopless paths with tests [GRAPHS] (#6773)
Show description for 8726d40
SamXop123
authored
8726d40
View commit details
Copy full SHA for 8726d40
View code at this point
Browse repository at this point
feat(graph): Add Edmonds's algorithm for minimum spanning arborescence (#6771)
Show description for 8b8434c
Microindole
authored
8b8434c
View commit details
Copy full SHA for 8b8434c
View code at this point
Browse repository at this point
Commits on Oct 12, 2025
Added Dinic’s Max Flow algorithm with tests [Graphs] (#6762)
Show description for 883a050
SamXop123
and
alxkm
authored
883a050
View commit details
Copy full SHA for 883a050
View code at this point
Browse repository at this point
Commits on Oct 6, 2025
Create zero_one_bfs.java (#6560)
Show description for 8ca2d9f
ananya-research
and
alxkm
authored
8ca2d9f
View commit details
Copy full SHA for 8ca2d9f
View code at this point
Browse repository at this point
Commits on Oct 1, 2025
Extend Graph Algorithms: Added Two Popular Algorithms: BronKerbosch, EdmondsKarp (#6576)
Show description for f8f315e
Sivasuthan9
and
alxkm
authored
f8f315e
View commit details
Copy full SHA for f8f315e
View code at this point
Browse repository at this point
Commits on Aug 15, 2025
Add DFS with parent-completion constraint for DAG traversal (#6467)
Show description for 2dd6a13
StathisVeinoglou
and
DenizAltunkapan
authored
2dd6a13
View commit details
Copy full SHA for 2dd6a13
View code at this point
Browse repository at this point
Commits on Aug 14, 2025
Hopcroft karp Algorithm implementation and tests (#6465)
Show description for 657f433
ptzecher
authored
657f433
View commit details
Copy full SHA for 657f433
View code at this point
Browse repository at this point
Commits on Mar 31, 2025
Add Traveling Salesman Problem (#6205)
DenizAltunkapan
authored
743f966
View commit details
Copy full SHA for 743f966
View code at this point
Browse repository at this point
Commits on Jan 28, 2025
Add Constrained Shortest Path Problem (CSPP) / Shortest Path Problem with Resource Constraints (SPPRC) (#6155)
DenizAltunkapan
authored
d4b28b3
View commit details
Copy full SHA for d4b28b3
View code at this point
Browse repository at this point
Commits on Nov 1, 2024
General performance improvement (#6078)
mosbat
authored
df0c997
View commit details
Copy full SHA for df0c997
View code at this point
Browse repository at this point
Commits on Oct 23, 2024
Add StronglyConnectedComponentOptimized (#5825)
vickygit-commits
authored
2f9f75a
View commit details
Copy full SHA for 2f9f75a
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.