| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:f4d32bc8-8951-0425-7a10-80d16bd6db52 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 92CE:73CE1:1BBD03A:259CB0D:6AFB90D7 |
| html-safe-nonce | 048aaf5211c6649873ef2525a0952a5c5d586934ad91c1411f16e2be4f5d8fae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkNFOjczQ0UxOjFCQkQwM0E6MjU5Q0IwRDo2QUZCOTBENyIsInZpc2l0b3JfaWQiOiI2ODYxMjA4NTMwNTc4MDE4NTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cb59fb60af8012bbf4bc83ac4d9a172ca82d2d09ddbf785f38d2a6a336026169 |
| hovercard-subject-tag | pull_request:2887194452 |
| 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/13172/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9fed5c8f08d27a3a56101769f74dbdab27f56ccce5f631a700918f00e735db72/TheAlgorithms/Python/pull/13172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fed5c8f08d27a3a56101769f74dbdab27f56ccce5f631a700918f00e735db72/TheAlgorithms/Python/pull/13172 |
| og:image:alt | Describe your change:
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Add or change doctests? -- Note: Please avoid changing both code and tests in a single pull request.
Documen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Fiqqar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4f01efe06174a5ba6342fd58e42d02295e0675bedbb465d6bef2dbaec8e46556 |
| 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 | a52db8866b6543b4e83730cd6a6b1360f1a9e4dc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/13172#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F13172 |
| 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%2F13172 |
| 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/13172 |
| Reload | https://github.com/TheAlgorithms/Python/pull/13172 |
| Reload | https://github.com/TheAlgorithms/Python/pull/13172 |
| 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 requests104 (104) | 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 |
| Fiqqar | https://github.com/Fiqqar |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| Fiqqar:tree-alg | https://github.com/Fiqqar/Python/tree/tree-alg |
| Conversation | https://github.com/TheAlgorithms/Python/pull/13172 |
| Commits8 (8) | https://github.com/TheAlgorithms/Python/pull/13172/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/13172/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/13172/files |
| Tree alg | https://github.com/TheAlgorithms/Python/pull/13172#top |
| Fiqqar | https://github.com/Fiqqar |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| Fiqqar:tree-alg | https://github.com/Fiqqar/Python/tree/tree-alg |
|
| https://github.com/Fiqqar |
| Fiqqar | https://github.com/Fiqqar |
| Oct 4, 2025 | https://github.com/TheAlgorithms/Python/pull/13172#issue-3483687674 |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| type hints | https://docs.python.org/3/library/typing.html |
| doctests | https://docs.python.org/3/library/doctest.html |
| closing keyword | https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13172 |
| Fiqqar | https://github.com/Fiqqar |
| October 4, 2025 18:45 | https://github.com/TheAlgorithms/Python/pull/13172#commits-pushed-ed5b96b |
|
| https://github.com/Fiqqar |
| alg [pepeny] new alg binary tree | https://github.com/TheAlgorithms/Python/pull/13172/commits/ed5b96ba731430d0270ea45008e562dbe96102e7 |
| ed5b96b | https://github.com/TheAlgorithms/Python/pull/13172/commits/ed5b96ba731430d0270ea45008e562dbe96102e7 |
|
| https://github.com/Fiqqar |
| fix typo | https://github.com/TheAlgorithms/Python/pull/13172/commits/5c688df0f8b25294cd7867f70de156aa6898e9c4 |
| 5c688df | https://github.com/TheAlgorithms/Python/pull/13172/commits/5c688df0f8b25294cd7867f70de156aa6898e9c4 |
|
| https://github.com/Fiqqar |
| new tre algorithm | https://github.com/TheAlgorithms/Python/pull/13172/commits/82d8cd80204e6084445d8e247a1dc80d29acc630 |
| 82d8cd8 | https://github.com/TheAlgorithms/Python/pull/13172/commits/82d8cd80204e6084445d8e247a1dc80d29acc630 |
| 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 |
| Oct 4, 2025 | https://github.com/TheAlgorithms/Python/pull/13172#event-20096253438 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/13172/commits/5c00cfb4b322fdce9d864418d1c54e591c89161c |
| 5c00cfb | https://github.com/TheAlgorithms/Python/pull/13172/commits/5c00cfb4b322fdce9d864418d1c54e591c89161c |
| https://pre-commit.ci | https://pre-commit.ci |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Oct 4, 2025 | https://github.com/TheAlgorithms/Python/pull/13172#event-20096268494 |
| Fiqqar | https://github.com/Fiqqar |
| October 4, 2025 20:06 | https://github.com/TheAlgorithms/Python/pull/13172#commits-pushed-69e2306 |
|
| https://github.com/Fiqqar |
| Rename __init.py to __init__.py | https://github.com/TheAlgorithms/Python/pull/13172/commits/69e23064aafabff406972d2a1182623d29bee52f |
| 69e2306 | https://github.com/TheAlgorithms/Python/pull/13172/commits/69e23064aafabff406972d2a1182623d29bee52f |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/13172/commits/ac3f11a314f8f7e3c03bbfaba70fefd0003a76df |
| ac3f11a | https://github.com/TheAlgorithms/Python/pull/13172/commits/ac3f11a314f8f7e3c03bbfaba70fefd0003a76df |
| https://pre-commit.ci | https://pre-commit.ci |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Oct 4, 2025 | https://github.com/TheAlgorithms/Python/pull/13172#event-20096325256 |
| Fiqqar | https://github.com/Fiqqar |
| October 9, 2025 19:35 | https://github.com/TheAlgorithms/Python/pull/13172#commits-pushed-0768cb8 |
|
| https://github.com/Fiqqar |
| Merge branch 'master' into tree-alg | https://github.com/TheAlgorithms/Python/pull/13172/commits/0768cb88bf66b14a142723d3d4747c5747f8eef5 |
| 0768cb8 | https://github.com/TheAlgorithms/Python/pull/13172/commits/0768cb88bf66b14a142723d3d4747c5747f8eef5 |
|
| https://github.com/Fiqqar |
| Merge branch 'master' into tree-alg | https://github.com/TheAlgorithms/Python/pull/13172/commits/7ee65997917a95990aec7f6bf331cb77817bd91c |
| 7ee6599 | https://github.com/TheAlgorithms/Python/pull/13172/commits/7ee65997917a95990aec7f6bf331cb77817bd91c |
|
docs: group all 770 open PRs by algorithm directory in hacktober_2026_prep.md
#15184
| https://github.com/TheAlgorithms/Python/pull/15184 |
|
priya-sundaram-dev as a triager?
#15081
| https://github.com/TheAlgorithms/Python/issues/15081 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| Sep 4, 2026 | https://github.com/TheAlgorithms/Python/pull/13172#issuecomment-5546563626 |
| Python/data_structures/binary_tree/binary_tree_traversals.py | https://github.com/TheAlgorithms/Python/blob/e1a42f05f5502f67761bc131dd26b49fd0faadb5/data_structures/binary_tree/binary_tree_traversals.py#L85 |
| e1a42f0 | https://github.com/TheAlgorithms/Python/commit/e1a42f05f5502f67761bc131dd26b49fd0faadb5 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13172 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| Sep 4, 2026 | https://github.com/TheAlgorithms/Python/pull/13172#event-30582535417 |
| https://github.com/priya-sundaram-dev |
| priya-sundaram-dev | https://github.com/priya-sundaram-dev |
|
Sep 4, 2026
| https://github.com/TheAlgorithms/Python/pull/13172#ref-pullrequest-5353584203 |
|
docs(hacktober): mark the 10 resolved new-root-directory PRs
#15189
| https://github.com/TheAlgorithms/Python/pull/15189 |
| cclauss | https://github.com/cclauss |
|
Sep 5, 2026
| https://github.com/TheAlgorithms/Python/pull/13172#ref-commit-d2f0490 |
|
| https://github.com/priya-sundaram-dev |
| docs(hacktober): mark the 10 resolved new-root-directory PRs ( | https://github.com/TheAlgorithms/Python/commit/d2f0490e162007532c211f6948026c6b188b0909 |
| #15184 | https://github.com/TheAlgorithms/Python/pull/15184 |
| … | https://github.com/TheAlgorithms/Python/commit/d2f0490e162007532c211f6948026c6b188b0909 |
| d2f0490 | https://github.com/TheAlgorithms/Python/commit/d2f0490e162007532c211f6948026c6b188b0909 |
| #15189 | https://github.com/TheAlgorithms/Python/pull/15189 |
| @cclauss | https://github.com/cclauss |
| #15081 | https://github.com/TheAlgorithms/Python/issues/15081 |
| #11842 | https://github.com/TheAlgorithms/Python/pull/11842 |
| #12392 | https://github.com/TheAlgorithms/Python/pull/12392 |
| #9896 | https://github.com/TheAlgorithms/Python/pull/9896 |
| #9388 | https://github.com/TheAlgorithms/Python/pull/9388 |
| #12141 | https://github.com/TheAlgorithms/Python/pull/12141 |
| #13231 | https://github.com/TheAlgorithms/Python/pull/13231 |
| #13172 | https://github.com/TheAlgorithms/Python/pull/13172 |
| #12140 | https://github.com/TheAlgorithms/Python/pull/12140 |
| #13119 | https://github.com/TheAlgorithms/Python/pull/13119 |
| #11574 | https://github.com/TheAlgorithms/Python/pull/11574 |
| #13924 | https://github.com/TheAlgorithms/Python/pull/13924 |
| #14611 | https://github.com/TheAlgorithms/Python/pull/14611 |
| #11842 | https://github.com/TheAlgorithms/Python/pull/11842 |
| #12392 | https://github.com/TheAlgorithms/Python/pull/12392 |
| #12648 | https://github.com/TheAlgorithms/Python/pull/12648 |
| 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%2F13172 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13172 |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13172 |
|
| https://github.com/Fiqqar |
|
| 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 |