| 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:5c81b380-a7d2-2342-3a6f-08854d7e5f3f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B3A6:18E6DD:1EAE760:2992B42:6AFBA3BC |
| html-safe-nonce | 416de4905659c3507e6c08c4f52f88ff5208f5a0130d9b2221860455eeae8d6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0E2OjE4RTZERDoxRUFFNzYwOjI5OTJCNDI6NkFGQkEzQkMiLCJ2aXNpdG9yX2lkIjoiNzg3MDExMTcwMjkxNjUwNjU1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ccf5a2e20c8d678a68f31b61a3a242cf3fd90b43fa925abc4c4b7a481f2120db |
| hovercard-subject-tag | pull_request:4746931135 |
| 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/15504/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c9f3ace95f53a53e1110677aa48378c3acf9d2c68489372babc38496b8284d1c/TheAlgorithms/Python/pull/15504 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9f3ace95f53a53e1110677aa48378c3acf9d2c68489372babc38496b8284d1c/TheAlgorithms/Python/pull/15504 |
| 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.
Document... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iosayin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf |
| 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 | 41f00295b9a35dca977890ab83b22788ab211dc8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/15504#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F15504 |
| 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%2F15504 |
| 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/15504 |
| Reload | https://github.com/TheAlgorithms/Python/pull/15504 |
| Reload | https://github.com/TheAlgorithms/Python/pull/15504 |
| 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 |
| cclauss | https://github.com/cclauss |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| iosayin:refactor/modernize-heap-pep695 | https://github.com/iosayin/Python/tree/refactor/modernize-heap-pep695 |
| Conversation | https://github.com/TheAlgorithms/Python/pull/15504 |
| Commits4 (4) | https://github.com/TheAlgorithms/Python/pull/15504/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/15504/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/15504/files |
| refactor(heap): remove redundant TypeVar in Heap | https://github.com/TheAlgorithms/Python/pull/15504#top |
| cclauss | https://github.com/cclauss |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| iosayin:refactor/modernize-heap-pep695 | https://github.com/iosayin/Python/tree/refactor/modernize-heap-pep695 |
|
| https://github.com/iosayin |
| iosayin | https://github.com/iosayin |
| Oct 5, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#issue-5714373209 |
| #15234 | https://github.com/TheAlgorithms/Python/issues/15234 |
| 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/15504 |
|
| https://github.com/iosayin |
| refactor(heap): remove redundant TypeVar in Heap | https://github.com/TheAlgorithms/Python/pull/15504/commits/11e06fdbc147b91f8e4351cc3bf2d0fc8a552470 |
| 11e06fd | https://github.com/TheAlgorithms/Python/pull/15504/commits/11e06fdbc147b91f8e4351cc3bf2d0fc8a552470 |
| 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 |
|
enhancement
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement |
| Oct 5, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#event-32520429189 |
|
refactor(sorts): remove redundant TypeVar in recursive_insertion_sort
#15505
| https://github.com/TheAlgorithms/Python/pull/15505 |
|
refactor(sorts): remove redundant TypeVar in strand_sort
#15506
| https://github.com/TheAlgorithms/Python/pull/15506 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
Oct 5, 2026
| https://github.com/TheAlgorithms/Python/pull/15504#pullrequestreview-5417518075 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/15504/files/11e06fdbc147b91f8e4351cc3bf2d0fc8a552470 |
| data_structures/heap/heap.py | https://github.com/TheAlgorithms/Python/pull/15504/files/11e06fdbc147b91f8e4351cc3bf2d0fc8a552470#diff-51f64867f4dbf87f9b87f1ae9b28cb6802667acff9e402bdc69b4cf4d690e3d3 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/15504 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
awaiting changes
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
| Oct 5, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#event-32526182160 |
|
| https://github.com/iosayin |
| refactor(heap): revert Comparable.__gt__ signature to self: T, other: T | https://github.com/TheAlgorithms/Python/pull/15504/commits/958f1703287773ac51b8215997f36df64caf1f51 |
| 958f170 | https://github.com/TheAlgorithms/Python/pull/15504/commits/958f1703287773ac51b8215997f36df64caf1f51 |
| 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 |
|
awaiting changes
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Oct 5, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#event-32539326763 |
| https://github.com/iosayin |
| iosayin | https://github.com/iosayin |
| Oct 5, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#issuecomment-6001537427 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/15504 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
Oct 6, 2026
| https://github.com/TheAlgorithms/Python/pull/15504#ref-pullrequest-5734001698 |
|
fix(geometry): remove unused TypeVar from graham_scan
#15534
| https://github.com/TheAlgorithms/Python/pull/15534 |
|
| https://github.com/cclauss |
| Clean up imports in heap.py | https://github.com/TheAlgorithms/Python/pull/15504/commits/d34405edc40a2019faa2d400d23803d946ba5c92 |
| d34405e | https://github.com/TheAlgorithms/Python/pull/15504/commits/d34405edc40a2019faa2d400d23803d946ba5c92 |
| 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 12, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#event-33017097601 |
|
| https://github.com/cclauss |
| Update __gt__ method signature in Comparable class | https://github.com/TheAlgorithms/Python/pull/15504/commits/3a6248453c2ade8c11b344cb9602c9894a50b93f |
| 3a62484 | https://github.com/TheAlgorithms/Python/pull/15504/commits/3a6248453c2ade8c11b344cb9602c9894a50b93f |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
Oct 12, 2026
| https://github.com/TheAlgorithms/Python/pull/15504#pullrequestreview-5486367206 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/15504/files/3a6248453c2ade8c11b344cb9602c9894a50b93f |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
Oct 12, 2026
| https://github.com/TheAlgorithms/Python/pull/15504#pullrequestreview-5486368435 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/15504/files/3a6248453c2ade8c11b344cb9602c9894a50b93f |
| 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 |
| Oct 12, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#event-33017363809 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| 14082f5 | https://github.com/TheAlgorithms/Python/commit/14082f5249282bc1ebc32c05e54924ae9a00c7ba |
| Oct 12, 2026 | https://github.com/TheAlgorithms/Python/pull/15504#event-33017641518 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/15504 |
| 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%2F15504 |
|
| https://github.com/cclauss |
|
cclauss
| https://github.com/cclauss |
|
| https://github.com/TheAlgorithms/Python/pull/15504/files/3a6248453c2ade8c11b344cb9602c9894a50b93f |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/15504 |
|
enhancement
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/15504 |
|
| https://github.com/iosayin |
|
| 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 |