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
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
/
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 }}
datpp
Java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
Java
src
test
java
com
thealgorithms
datastructures
graphs
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 28, 2026
Add rotting oranges (#7542)
Show description for cceeac7
rsemwal1711
authored
cceeac7
View commit details
Copy full SHA for cceeac7
View code at this point
Browse repository at this point
Commits on Jun 23, 2026
refactor: unify Dijkstra on efficient PriorityQueue implementation (#7486)
priyanshuvishwakarma273403
authored
00339c7
View commit details
Copy full SHA for 00339c7
View code at this point
Browse repository at this point
Commits on Dec 10, 2025
Add unit tests for graph algorithms (#7133) (#7156)
Show description for 4f40206
LucasAHorn
and
prashantdubeypng
authored
4f40206
View commit details
Copy full SHA for 4f40206
View code at this point
Browse repository at this point
Commits on Nov 5, 2025
chore: fix typos in src/test/java/com/thealgorithms/datastructures (#7045)
Show description for 5c965eb
Lê Nam Khánh
authored
5c965eb
View commit details
Copy full SHA for 5c965eb
View code at this point
Browse repository at this point
Commits on Oct 12, 2025
feat: added TwoSat solutions with Tests, also updated Directory.md (#6756)
Show description for bc7b656
Shoyeb45
and
alxkm
authored
bc7b656
View commit details
Copy full SHA for bc7b656
View code at this point
Browse repository at this point
[FEAT] Implement Dials Algorithm (Graph) (#6679)
Show description for 9a907c8
Priyanshu1303d
and
Priyanshu1303d
authored
9a907c8
View commit details
Copy full SHA for 9a907c8
View code at this point
Browse repository at this point
Commits on Jun 5, 2025
chore: suppress `unchecked` in selected classes (#6262)
vil02
authored
7602f1e
View commit details
Copy full SHA for 7602f1e
View code at this point
Browse repository at this point
chore: suppress `rawtypes` in selected classes (#6261)
vil02
authored
ec6f09c
View commit details
Copy full SHA for ec6f09c
View code at this point
Browse repository at this point
Commits on Nov 19, 2024
Add optimized version of DijkstraAlgorithm (#6088)
likespro
authored
1a2aedd
View commit details
Copy full SHA for 1a2aedd
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 26, 2024
Enhance docs, remove `main`, add tests in `PrimMST` (#5969)
Hardvan
authored
62c9309
View commit details
Copy full SHA for 62c9309
View code at this point
Browse repository at this point
Add tests, fix `removeEdge` bug in `MatrixGraphs` (#5968)
Hardvan
authored
cfa35a4
View commit details
Copy full SHA for cfa35a4
View code at this point
Browse repository at this point
Enhance docs, add tests in `TarjansAlgorithm` (#5970)
Hardvan
authored
c657138
View commit details
Copy full SHA for c657138
View code at this point
Browse repository at this point
Enhance docs, add more tests in `WelshPowell` (#5971)
Hardvan
authored
474e0de
View commit details
Copy full SHA for 474e0de
View code at this point
Browse repository at this point
Commits on Oct 24, 2024
Enhance docs, add tests in `Kruskal` (#5967)
Hardvan
authored
0feb416
View commit details
Copy full SHA for 0feb416
View code at this point
Browse repository at this point
Enhance docs, add more tests in `Kosaraju` (#5966)
Hardvan
authored
578e5a7
View commit details
Copy full SHA for 578e5a7
View code at this point
Browse repository at this point
Enhance docs, add tests in KahnsAlgorithm (#5965)
Hardvan
authored
13be250
View commit details
Copy full SHA for 13be250
View code at this point
Browse repository at this point
Enhance docs, add more tests in `HamiltonianCycle` (#5963)
Hardvan
authored
3a9a2c4
View commit details
Copy full SHA for 3a9a2c4
View code at this point
Browse repository at this point
Enhance docs, add more tests in `JohnsonsAlgorithm` (#5964)
Hardvan
authored
1b51e3e
View commit details
Copy full SHA for 1b51e3e
View code at this point
Browse repository at this point
Commits on Oct 23, 2024
Enhance docs, add more tests in `FordFulkerson` (#5953)
Hardvan
authored
520e464
View commit details
Copy full SHA for 520e464
View code at this point
Browse repository at this point
Commits on Oct 14, 2024
style: include `OCP_OVERLY_CONCRETE_PARAMETER` (#5833)
vil02
authored
8886e09
View commit details
Copy full SHA for 8886e09
View code at this point
Browse repository at this point
Commits on Oct 12, 2024
Add Johnson's algorithm (#5712)
saahil-mahato
authored
ac65af4
View commit details
Copy full SHA for ac65af4
View code at this point
Browse repository at this point
Commits on Oct 8, 2024
Remove `print` & `main` methods (#5584)
Hardvan
authored
d437d58
View commit details
Copy full SHA for d437d58
View code at this point
Browse repository at this point
Commits on Oct 7, 2024
Add tests for `AStar.java`, enhance documentation (#5603)
Hardvan
authored
62144f6
View commit details
Copy full SHA for 62144f6
View code at this point
Browse repository at this point
Refactor BipartiteGraphDFS.java, add Junit tests (#5606)
Show description for 387707f
Hardvan
and
alxkm
authored
387707f
View commit details
Copy full SHA for 387707f
View code at this point
Browse repository at this point
Commits on Oct 2, 2024
Add Edmonds Blossom Algorithm (#5471)
TarunVishwakarma1
authored
e493eb2
View commit details
Copy full SHA for e493eb2
View code at this point
Browse repository at this point
Commits on Aug 30, 2024
refactor: change packages (#5430)
Show description for b0de93b
alxkm
and
alxkm
authored
b0de93b
View commit details
Copy full SHA for b0de93b
View code at this point
Browse repository at this point
Commits on Aug 16, 2024
refactor: `Dijkstra algorithm` (#5329)
alxkm
authored
98bee26
View commit details
Copy full SHA for 98bee26
View code at this point
Browse repository at this point
Commits on Jun 18, 2024
style: enable `InvalidJavadocPosition` in checkstyle (#5237)
Show description for 74e5199
samuelfac
and
Samuel Facchinello
authored
74e5199
View commit details
Copy full SHA for 74e5199
View code at this point
Browse repository at this point
Commits on May 5, 2024
style: enable `AvoidStarImport` in checkstyle (#5141)
vil02
authored
414835d
View commit details
Copy full SHA for 414835d
View code at this point
Browse repository at this point
Commits on Feb 12, 2024
Add `WelshPowell` (Graph Colouring) (#5034)
Show description for 47a9b1b
straf10
and
vil02
authored
47a9b1b
View commit details
Copy full SHA for 47a9b1b
View code at this point
Browse repository at this point
Commits on Dec 2, 2023
Add Boruvka's algorithm to find Minimum Spanning Tree (#4964)
itakurah
authored
e759544
View commit details
Copy full SHA for e759544
View code at this point
Browse repository at this point
Commits on Jun 9, 2023
style: format code (#4212)
Show description for 00282ef
acbin
authored
00282ef
View commit details
Copy full SHA for 00282ef
View code at this point
Browse repository at this point
Commits on Feb 15, 2023
Add Tarjans Algorithm (#3874)
shivu2002a
authored
69a4284
View commit details
Copy full SHA for 69a4284
View code at this point
Browse repository at this point
Commits on Feb 8, 2023
Add Kosaraju Algorithm (#3859)
shivu2002a
authored
39df47b
View commit details
Copy full SHA for 39df47b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.