| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9c457751-9699-b98c-65d1-dba409342c45 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADC0:1721AF:1AA9BB5:2492D1C:6964C02E |
| html-safe-nonce | 04e96632a39d436930cf0c8362470899bd54ec3efc3b3db2e6d4e1b9b64ff4df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREMwOjE3MjFBRjoxQUE5QkI1OjI0OTJEMUM6Njk2NEMwMkUiLCJ2aXNpdG9yX2lkIjoiNjQ4MTI4NzY0NjM3NjQxMTE4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 49fe1b0679a18389f1cdcc27130f565c0b7e7e66e453a4e06e9df34c1e5dfc08 |
| hovercard-subject-tag | pull_request:3009444114 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Java/7068/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/18fe31afaa9820c394351e406705df7b36290d30918abcc09f23fa4ee4e15da1/TheAlgorithms/Java/pull/7068 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18fe31afaa9820c394351e406705df7b36290d30918abcc09f23fa4ee4e15da1/TheAlgorithms/Java/pull/7068 |
| og:image:alt | This adds the Kruskal's Minimum Spanning Tree algorithm mentioned in #7067.
Description
Added the Kruskal algorithm and its corresponding unit tests using JUnit.
Implementation
Complete Algor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | guillermolara01 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21df671ce2c9f1a16940ccbd3af6cb4f3f12a856929ca7eb1b4aea8e384ea442 |
| turbo-cache-control | no-preview |
| go-import | github.com/TheAlgorithms/Java git https://github.com/TheAlgorithms/Java.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63477660 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63477660 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5707c685ac172d50a0bdd7533dde4f8aabcf8eef |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/TheAlgorithms/Java/pull/7068#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F7068 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F7068 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TheAlgorithms%2FJava |
| Reload | https://github.com/TheAlgorithms/Java/pull/7068 |
| Reload | https://github.com/TheAlgorithms/Java/pull/7068 |
| Reload | https://github.com/TheAlgorithms/Java/pull/7068 |
|
TheAlgorithms
| https://github.com/TheAlgorithms |
| Java | https://github.com/TheAlgorithms/Java |
|
Notifications
| https://github.com/login?return_to=%2FTheAlgorithms%2FJava |
|
Fork
20.9k
| https://github.com/login?return_to=%2FTheAlgorithms%2FJava |
|
Star
64.7k
| https://github.com/login?return_to=%2FTheAlgorithms%2FJava |
|
Code
| https://github.com/TheAlgorithms/Java |
|
Issues
37
| https://github.com/TheAlgorithms/Java/issues |
|
Pull requests
11
| https://github.com/TheAlgorithms/Java/pulls |
|
Actions
| https://github.com/TheAlgorithms/Java/actions |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/TheAlgorithms/Java/security |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
|
Insights
| https://github.com/TheAlgorithms/Java/pulse |
|
Code
| https://github.com/TheAlgorithms/Java |
|
Issues
| https://github.com/TheAlgorithms/Java/issues |
|
Pull requests
| https://github.com/TheAlgorithms/Java/pulls |
|
Actions
| https://github.com/TheAlgorithms/Java/actions |
|
Security
| https://github.com/TheAlgorithms/Java/security |
|
Insights
| https://github.com/TheAlgorithms/Java/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FTheAlgorithms%2FJava%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FTheAlgorithms%2FJava%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/TheAlgorithms/Java/pull/7068#issue-comment-box |
| guillermolara01 | https://github.com/guillermolara01 |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Java/tree/master |
| guillermolara01:feature/kruskal_algorithm | https://github.com/guillermolara01/Java/tree/feature/kruskal_algorithm |
|
Feature/kruskal algorithm
| https://github.com/TheAlgorithms/Java/pull/7068#top |
| guillermolara01 | https://github.com/guillermolara01 |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Java/tree/master |
| guillermolara01:feature/kruskal_algorithm | https://github.com/guillermolara01/Java/tree/feature/kruskal_algorithm |
|
Conversation
3
| https://github.com/TheAlgorithms/Java/pull/7068 |
|
Commits
5
| https://github.com/TheAlgorithms/Java/pull/7068/commits |
|
Checks
6
| https://github.com/TheAlgorithms/Java/pull/7068/checks |
|
Files changed
| https://github.com/TheAlgorithms/Java/pull/7068/files |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
| https://github.co/hiddenchars |
| https://github.com/TheAlgorithms/Java/pull/{{ revealButtonHref }} |
|
| https://github.com/guillermolara01 |
| guillermolara01 | https://github.com/guillermolara01 |
| Nov 14, 2025 | https://github.com/TheAlgorithms/Java/pull/7068#issue-3624073800 |
| #7067 | https://github.com/TheAlgorithms/Java/issues/7067 |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
| guillermolara01 | https://github.com/guillermolara01 |
| November 13, 2025 23:40 | https://github.com/TheAlgorithms/Java/pull/7068#commits-pushed-08ce5d2 |
|
| https://github.com/guillermolara01 |
| feature: adds Kruskal's algorithm to greedy section | https://github.com/TheAlgorithms/Java/pull/7068/commits/08ce5d2e16f33cfeb98663f97eb060c22515b26c |
| 08ce5d2 | https://github.com/TheAlgorithms/Java/pull/7068/commits/08ce5d2e16f33cfeb98663f97eb060c22515b26c |
|
| https://github.com/guillermolara01 |
| fix: adds URL for a reference about the algorithm | https://github.com/TheAlgorithms/Java/pull/7068/commits/386f436d88e09505df5b1c45937cb536a4c8c51f |
| 386f436 | https://github.com/TheAlgorithms/Java/pull/7068/commits/386f436d88e09505df5b1c45937cb536a4c8c51f |
| https://github.com/guillermolara01 |
| guillermolara01 | https://github.com/guillermolara01 |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| alxkm | https://github.com/alxkm |
| yanglbme | https://github.com/yanglbme |
| code owners | https://github.com/TheAlgorithms/Java/blob/a008cc2b0889ed51bf47e673e5f056e97f64cae1/.github/CODEOWNERS#L1 |
| November 14, 2025 06:13 | https://github.com/TheAlgorithms/Java/pull/7068#event-20934268555 |
| https://github.com/codecov-commenter |
| codecov-commenter | https://github.com/codecov-commenter |
| Nov 14, 2025 | https://github.com/TheAlgorithms/Java/pull/7068#issuecomment-3531054196 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
| Codecov | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7068?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| a008cc2 | https://app.codecov.io/gh/TheAlgorithms/Java/commit/a008cc2b0889ed51bf47e673e5f056e97f64cae1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| 0f88632 | https://app.codecov.io/gh/TheAlgorithms/Java/commit/0f88632ebae6fe7d30a5624da3bc55c6f7dd3b18?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| Files with missing lines | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7068?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| ...ealgorithms/greedyalgorithms/KruskalAlgorithm.java | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7068?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Fcom%2Fthealgorithms%2Fgreedyalgorithms%2FKruskalAlgorithm.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms#diff-c3JjL21haW4vamF2YS9jb20vdGhlYWxnb3JpdGhtcy9ncmVlZHlhbGdvcml0aG1zL0tydXNrYWxBbGdvcml0aG0uamF2YQ== |
| 3 Missing and 2 partials ⚠️ | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7068?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| ☔ View full report in Codecov by Sentry | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7068?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
|
| https://github.com/guillermolara01 |
| fix: adds checkstyle corrections | https://github.com/TheAlgorithms/Java/pull/7068/commits/22eacb8f3430d91568eca6dd8f563f8b31b8866d |
| 22eacb8 | https://github.com/TheAlgorithms/Java/pull/7068/commits/22eacb8f3430d91568eca6dd8f563f8b31b8866d |
| https://github.com/guillermolara01 |
| guillermolara01 | https://github.com/guillermolara01 |
| November 14, 2025 17:15 | https://github.com/TheAlgorithms/Java/pull/7068#event-20948547817 |
| guillermolara01 | https://github.com/guillermolara01 |
| November 14, 2025 11:48 | https://github.com/TheAlgorithms/Java/pull/7068#commits-pushed-8e08240 |
|
| https://github.com/guillermolara01 |
| fix: adds more test coverage and style corrections | https://github.com/TheAlgorithms/Java/pull/7068/commits/8e082405b201f7cb4c8f6384583c1c108abc23aa |
| 8e08240 | https://github.com/TheAlgorithms/Java/pull/7068/commits/8e082405b201f7cb4c8f6384583c1c108abc23aa |
|
| https://github.com/guillermolara01 |
| fix: removes the blank line in imports, style correction | https://github.com/TheAlgorithms/Java/pull/7068/commits/0f88632ebae6fe7d30a5624da3bc55c6f7dd3b18 |
| 0f88632 | https://github.com/TheAlgorithms/Java/pull/7068/commits/0f88632ebae6fe7d30a5624da3bc55c6f7dd3b18 |
| https://github.com/guillermolara01 |
| guillermolara01 | https://github.com/guillermolara01 |
| November 14, 2025 18:22 | https://github.com/TheAlgorithms/Java/pull/7068#event-20949933737 |
| https://github.com/guillermolara01 |
| guillermolara01 | https://github.com/guillermolara01 |
| Nov 18, 2025 | https://github.com/TheAlgorithms/Java/pull/7068#issuecomment-3549454067 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
| #7067 | https://github.com/TheAlgorithms/Java/issues/7067 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
| https://github.com/DenizAltunkapan |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| Dec 14, 2025 | https://github.com/TheAlgorithms/Java/pull/7068#issuecomment-3650688963 |
| @guillermolara01 | https://github.com/guillermolara01 |
| https://github.com/TheAlgorithms/Java/blob/master/src/main/java/com/thealgorithms/datastructures/graphs/Kruskal.java | https://github.com/TheAlgorithms/Java/blob/master/src/main/java/com/thealgorithms/datastructures/graphs/Kruskal.java |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F7068 |
|
| https://github.com/DenizAltunkapan |
|
DenizAltunkapan
| https://github.com/DenizAltunkapan |
|
| https://github.com/yanglbme |
|
yanglbme
| https://github.com/yanglbme |
|
| https://github.com/alxkm |
|
alxkm
| https://github.com/alxkm |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7068 |
|
| https://github.com/guillermolara01 |
|
| https://github.com/codecov-commenter |
|
| https://github.com/DenizAltunkapan |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |