| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ac31cd98-64ce-fd7d-a018-8ed083cbbc91 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9474:15B36C:2368D4:31EA78:6AFBF34C |
| html-safe-nonce | 88a4303971803c36fc55329278ebd893891730d806e2609d831b1b5f3a9f3e13 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDc0OjE1QjM2QzoyMzY4RDQ6MzFFQTc4OjZBRkJGMzRDIiwidmlzaXRvcl9pZCI6IjczNzgxMTg1MDkwNTU0Mzk2OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0198cc10c1fb060cb01759cd99222a44dea61540cb39f145ae109c15d7f2f2a0 |
| hovercard-subject-tag | pull_request:3340355635 |
| 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/Python/14316/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1a997b839aa4f38b915c4838121ba2a008a359ca46a828d959c040f2c8389d52/TheAlgorithms/Python/pull/14316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a997b839aa4f38b915c4838121ba2a008a359ca46a828d959c040f2c8389d52/TheAlgorithms/Python/pull/14316 |
| og:image:alt | Describe your change:
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Documentation change?
Checklist:
I have read CONTRIBUTING.md.
This PR only changes one algorithm file or ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gangs2314 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| turbo-cache-control | no-cache |
| go-import | github.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63476337 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63476337 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Python |
| 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 | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/14316#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14316 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14316 |
| 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%2FPython |
| Reload | https://github.com/TheAlgorithms/Python/pull/14316 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14316 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14316 |
| TheAlgorithms | https://github.com/TheAlgorithms |
| Python | https://github.com/TheAlgorithms/Python |
| Code | https://github.com/TheAlgorithms/Python |
| Issues14 (14) | https://github.com/TheAlgorithms/Python/issues |
| Pull requests105 (105) | https://github.com/TheAlgorithms/Python/pulls |
| Discussions | https://github.com/TheAlgorithms/Python/discussions |
| Actions | https://github.com/TheAlgorithms/Python/actions |
| Projects | https://github.com/TheAlgorithms/Python/projects |
| Wiki | https://github.com/TheAlgorithms/Python/wiki |
| Security and quality | https://github.com/TheAlgorithms/Python/security |
| Insights | https://github.com/TheAlgorithms/Python/pulse |
| https://github.com/TheAlgorithms/Python |
| gangs2314 | https://github.com/gangs2314 |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| gangs2314:add-10-graph-algorithms | https://github.com/gangs2314/Python/tree/add-10-graph-algorithms |
| Conversation | https://github.com/TheAlgorithms/Python/pull/14316 |
| Commits7 (7) | https://github.com/TheAlgorithms/Python/pull/14316/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/14316/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/14316/files |
| Add 10 graph algorithms | https://github.com/TheAlgorithms/Python/pull/14316#top |
| gangs2314 | https://github.com/gangs2314 |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| gangs2314:add-10-graph-algorithms | https://github.com/gangs2314/Python/tree/add-10-graph-algorithms |
|
| https://github.com/gangs2314 |
| gangs2314 | https://github.com/gangs2314 |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#issue-4006678826 |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
require descriptive names
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22require%20descriptive%20names%22 |
|
require type hints
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22require%20type%20hints%22 |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#event-23167485529 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
Mar 1, 2026
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-3871744126 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/14316/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-3871744126 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Contributing guidelines | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Project Euler solution guidelines | https://github.com/TheAlgorithms/Python/blob/master/project_euler/README.md |
| Formatted string literals (f-strings) | https://docs.python.org/3/tutorial/inputoutput.html#tut-f-strings |
| Type hints | https://docs.python.org/3/library/typing.html |
| doctest | https://docs.python.org/3/library/doctest.html |
| unittest | https://docs.python.org/3/library/unittest.html |
| pytest | https://docs.pytest.org/en/stable/ |
| algorithms-keeper | https://github.com/dhruvmanila/algorithms-keeper |
| please open an issue about it. | https://github.com/dhruvmanila/algorithms-keeper/issues |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/chinese_postman.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-cebf707ee3f4bfedf0950aec07eab43eb779e184d8dcabc26f5613b3ad2595e9 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665658 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/chinese_postman.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-cebf707ee3f4bfedf0950aec07eab43eb779e184d8dcabc26f5613b3ad2595e9 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665659 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/chinese_postman.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-cebf707ee3f4bfedf0950aec07eab43eb779e184d8dcabc26f5613b3ad2595e9 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665661 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/floyd_warshall.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-1f5873e5051e0d77aa6281b713038a9c55646a54f69ad80855342002981a634c |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665663 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/ford_fulkerson.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-af16e58cc0d8a638148db12994031ba41ad5e04aba78b8538766f54f88fc403d |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665665 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665712 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665713 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665715 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665716 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2868665717 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Mar 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#event-23167486687 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
Mar 4, 2026
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-3889487476 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/14316/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-3889487476 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Contributing guidelines | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Project Euler solution guidelines | https://github.com/TheAlgorithms/Python/blob/master/project_euler/README.md |
| Formatted string literals (f-strings) | https://docs.python.org/3/tutorial/inputoutput.html#tut-f-strings |
| Type hints | https://docs.python.org/3/library/typing.html |
| doctest | https://docs.python.org/3/library/doctest.html |
| unittest | https://docs.python.org/3/library/unittest.html |
| pytest | https://docs.pytest.org/en/stable/ |
| algorithms-keeper | https://github.com/dhruvmanila/algorithms-keeper |
| please open an issue about it. | https://github.com/dhruvmanila/algorithms-keeper/issues |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/chinese_postman.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-cebf707ee3f4bfedf0950aec07eab43eb779e184d8dcabc26f5613b3ad2595e9 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844482 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/chinese_postman.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-cebf707ee3f4bfedf0950aec07eab43eb779e184d8dcabc26f5613b3ad2595e9 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844485 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/chinese_postman.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-cebf707ee3f4bfedf0950aec07eab43eb779e184d8dcabc26f5613b3ad2595e9 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844498 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/floyd_warshall.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-1f5873e5051e0d77aa6281b713038a9c55646a54f69ad80855342002981a634c |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844501 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/ford_fulkerson.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-af16e58cc0d8a638148db12994031ba41ad5e04aba78b8538766f54f88fc403d |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844507 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844635 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844640 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844644 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844647 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Mar 4, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r2883844649 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| gangs2314 | https://github.com/gangs2314 |
| June 19, 2026 12:38 | https://github.com/TheAlgorithms/Python/pull/14316#commits-pushed-e96419a |
|
| https://github.com/gangs2314 |
| Add 10 graph algorithms with comprehensive tests | https://github.com/TheAlgorithms/Python/pull/14316/commits/e96419ab25cc05b1a63a03f37b49683c826410d3 |
| e96419a | https://github.com/TheAlgorithms/Python/pull/14316/commits/e96419ab25cc05b1a63a03f37b49683c826410d3 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14316/commits/46e575b5accdb2786448766c6d1e9b2b6927e4d7 |
| 46e575b | https://github.com/TheAlgorithms/Python/pull/14316/commits/46e575b5accdb2786448766c6d1e9b2b6927e4d7 |
| https://pre-commit.ci | https://pre-commit.ci |
|
| https://github.com/gangs2314 |
| Fix flake8 errors and add __init__.py files | https://github.com/TheAlgorithms/Python/pull/14316/commits/9718a3e18b91d3c491ad682ee4d0465cca8189e0 |
| 9718a3e | https://github.com/TheAlgorithms/Python/pull/14316/commits/9718a3e18b91d3c491ad682ee4d0465cca8189e0 |
|
| https://github.com/gangs2314 |
| Fix style issues (flake8) | https://github.com/TheAlgorithms/Python/pull/14316/commits/cee0636d5299a42e63effd60a971fa6cfd909f4d |
| cee0636 | https://github.com/TheAlgorithms/Python/pull/14316/commits/cee0636d5299a42e63effd60a971fa6cfd909f4d |
| fix: resolve ruff linting, naming, and type hint issues | https://github.com/TheAlgorithms/Python/pull/14316/commits/d063a8939b0edce799b26173442a89680db8abc7 |
| d063a89 | https://github.com/TheAlgorithms/Python/pull/14316/commits/d063a8939b0edce799b26173442a89680db8abc7 |
| https://github.com/gangs2314 |
| gangs2314 | https://github.com/gangs2314 |
| force-pushed | https://github.com/TheAlgorithms/Python/compare/4cca9f13283721976ed6a39a100d3c442487443e..d063a8939b0edce799b26173442a89680db8abc7 |
| 4cca9f1 | https://github.com/TheAlgorithms/Python/commit/4cca9f13283721976ed6a39a100d3c442487443e |
| d063a89 | https://github.com/TheAlgorithms/Python/commit/d063a8939b0edce799b26173442a89680db8abc7 |
|
Compare
| https://github.com/TheAlgorithms/Python/compare/4cca9f13283721976ed6a39a100d3c442487443e..d063a8939b0edce799b26173442a89680db8abc7 |
| June 19, 2026 07:10 | https://github.com/TheAlgorithms/Python/pull/14316#event-26945406879 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
Jun 19, 2026
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-4530813476 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-4530813476 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Contributing guidelines | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Project Euler solution guidelines | https://github.com/TheAlgorithms/Python/blob/master/project_euler/README.md |
| Formatted string literals (f-strings) | https://docs.python.org/3/tutorial/inputoutput.html#tut-f-strings |
| Type hints | https://docs.python.org/3/library/typing.html |
| doctest | https://docs.python.org/3/library/doctest.html |
| unittest | https://docs.python.org/3/library/unittest.html |
| pytest | https://docs.pytest.org/en/stable/ |
| algorithms-keeper | https://github.com/dhruvmanila/algorithms-keeper |
| please open an issue about it. | https://github.com/dhruvmanila/algorithms-keeper/issues |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858160 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858164 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858172 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858176 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858179 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858327 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858332 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858336 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858340 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/d063a8939b0edce799b26173442a89680db8abc7#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440858344 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix: correct push-relabel active condition and johnson test expectation | https://github.com/TheAlgorithms/Python/pull/14316/commits/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
| 22d5ba3 | https://github.com/TheAlgorithms/Python/pull/14316/commits/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
| https://github.com/gangs2314 |
| gangs2314 | https://github.com/gangs2314 |
| force-pushed | https://github.com/TheAlgorithms/Python/compare/cda6b3f9f5608c69078c95bb1f5331fa78f7824b..22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
| cda6b3f | https://github.com/TheAlgorithms/Python/commit/cda6b3f9f5608c69078c95bb1f5331fa78f7824b |
| 22d5ba3 | https://github.com/TheAlgorithms/Python/commit/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
|
Compare
| https://github.com/TheAlgorithms/Python/compare/cda6b3f9f5608c69078c95bb1f5331fa78f7824b..22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
| June 19, 2026 07:19 | https://github.com/TheAlgorithms/Python/pull/14316#event-26945726342 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14316/commits/70b94f1fb7f631a5d377380d8a318bf0c87d20be |
| 70b94f1 | https://github.com/TheAlgorithms/Python/pull/14316/commits/70b94f1fb7f631a5d377380d8a318bf0c87d20be |
| https://pre-commit.ci | https://pre-commit.ci |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
Jun 19, 2026
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-4530865272 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| https://github.com/TheAlgorithms/Python/pull/14316#pullrequestreview-4530865272 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Contributing guidelines | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Project Euler solution guidelines | https://github.com/TheAlgorithms/Python/blob/master/project_euler/README.md |
| Formatted string literals (f-strings) | https://docs.python.org/3/tutorial/inputoutput.html#tut-f-strings |
| Type hints | https://docs.python.org/3/library/typing.html |
| doctest | https://docs.python.org/3/library/doctest.html |
| unittest | https://docs.python.org/3/library/unittest.html |
| pytest | https://docs.pytest.org/en/stable/ |
| algorithms-keeper | https://github.com/dhruvmanila/algorithms-keeper |
| please open an issue about it. | https://github.com/dhruvmanila/algorithms-keeper/issues |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902315 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902323 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902331 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902333 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| fix_ruff_errors.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-67d9764103b5197708d7aa146ef91827b7ec8f30352474b203ac1ae64197c501 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902342 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902523 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902531 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902541 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902543 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| graphs/two_sat.py | https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522#diff-2fdc2878568f897f515ea92078804f73e93070f84d84335e2db95a55c1e231f5 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jun 19, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#discussion_r3440902548 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| Sep 2, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#issuecomment-5516144101 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| Sep 2, 2026 | https://github.com/TheAlgorithms/Python/pull/14316#event-30444463521 |
|
docs(hacktober): record require_type_hints.sh run (15 PRs closed) + script recommendations
#15168
| https://github.com/TheAlgorithms/Python/pull/15168 |
|
priya-sundaram-dev as a triager?
#15081
| https://github.com/TheAlgorithms/Python/issues/15081 |
| https://github.co/hiddenchars |
| https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }} |
| 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%2FPython%2Fpull%2F14316 |
|
| https://github.com/apps/algorithms-keeper |
|
algorithms-keeper[bot]
| https://github.com/apps/algorithms-keeper |
|
| https://github.com/TheAlgorithms/Python/pull/14316/files/22d5ba3a6ef49ee5ba9ddbc9b055d10196b04522 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
|
require descriptive names
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22require%20descriptive%20names%22 |
|
require type hints
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22require%20type%20hints%22 |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14316 |
|
| https://github.com/gangs2314 |
|
| https://github.com/cclauss |
|
| 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 |