| 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:59648a49-81a4-cf04-f2fd-26e3dcdd6b5d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF7C:BFC9D:9E9D69:E7A177:6A589ED0 |
| html-safe-nonce | 25d7e0dc4796bcd789888b6cb4a7503f11b6274c8347bdb00f4daf46fafeae2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjdDOkJGQzlEOjlFOUQ2OTpFN0ExNzc6NkE1ODlFRDAiLCJ2aXNpdG9yX2lkIjoiMTcwNzY3MzM5Mzc0MTQ3MTQ0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fff07c6884f3b48fc970a7a013252d0f0409710c4f966bbca6c7e2b3d267a4a5 |
| hovercard-subject-tag | pull_request:1324509439 |
| 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/8685/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3610a6826f4309e69338e08f8f3bf3457b5aaf82b635513950ef880c8a05b662/TheAlgorithms/Python/pull/8685 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3610a6826f4309e69338e08f8f3bf3457b5aaf82b635513950ef880c8a05b662/TheAlgorithms/Python/pull/8685 |
| og:image:alt | Contributed be @aparibocci in #8125
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Documentation change?
Checklist:
I have read CONTRIBUTING.md.
This pull request is all my o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cclauss |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/8685#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F8685 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2FPython%2Fpull%2F8685 |
|
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/8685 |
| Reload | https://github.com/TheAlgorithms/Python/pull/8685 |
| Reload | https://github.com/TheAlgorithms/Python/pull/8685 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/8685 |
|
TheAlgorithms
| https://github.com/TheAlgorithms |
| Python | https://github.com/TheAlgorithms/Python |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/8685 |
|
Notifications
| https://github.com/login?return_to=%2FTheAlgorithms%2FPython |
|
Fork
50.9k
| https://github.com/login?return_to=%2FTheAlgorithms%2FPython |
|
Star
223k
| https://github.com/login?return_to=%2FTheAlgorithms%2FPython |
|
Code
| https://github.com/TheAlgorithms/Python |
|
Issues
141
| https://github.com/TheAlgorithms/Python/issues |
|
Pull requests
876
| 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
0
| https://github.com/TheAlgorithms/Python/security |
|
Insights
| https://github.com/TheAlgorithms/Python/pulse |
|
Code
| https://github.com/TheAlgorithms/Python |
|
Issues
| https://github.com/TheAlgorithms/Python/issues |
|
Pull requests
| 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 |
| cclauss | https://github.com/cclauss |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| cclauss:aparibocci | https://github.com/cclauss/Python/tree/aparibocci |
| Conversation | https://github.com/TheAlgorithms/Python/pull/8685 |
| Commits6 (6) | https://github.com/TheAlgorithms/Python/pull/8685/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/8685/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/8685/files |
| Solving the Top k most frequent words problem using a max-heap | https://github.com/TheAlgorithms/Python/pull/8685#top |
| cclauss | https://github.com/cclauss |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| cclauss:aparibocci | https://github.com/cclauss/Python/tree/aparibocci |
|
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| Apr 23, 2023 | https://github.com/TheAlgorithms/Python/pull/8685#issue-1680197218 |
| #8125 | https://github.com/TheAlgorithms/Python/pull/8125 |
| 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 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/8685 |
| amos-syd | https://github.com/amos-syd |
| February 7, 2023 20:56 | https://github.com/TheAlgorithms/Python/pull/8685#commits-pushed-26815ce |
|
| https://github.com/amos-syd |
| Solving the Top k most frequent words problem using a max-heap | https://github.com/TheAlgorithms/Python/pull/8685/commits/26815ce7fe7a642b7d5ed069cf76ca5ebe3d6dc0 |
| 26815ce | https://github.com/TheAlgorithms/Python/pull/8685/commits/26815ce7fe7a642b7d5ed069cf76ca5ebe3d6dc0 |
|
| https://github.com/amos-syd |
| Mentioning Python standard library solution in `Top k most frequent w… | https://github.com/TheAlgorithms/Python/pull/8685/commits/b71e97a4630ca54440b3af422612b88a5dd7b1b7 |
| b71e97a | https://github.com/TheAlgorithms/Python/pull/8685/commits/b71e97a4630ca54440b3af422612b88a5dd7b1b7 |
|
| https://github.com/amos-syd |
| Merge branch 'TheAlgorithms:master' into master | https://github.com/TheAlgorithms/Python/pull/8685/commits/c64312747f3be251a1977dafc0239b400faf3db5 |
| c643127 | https://github.com/TheAlgorithms/Python/pull/8685/commits/c64312747f3be251a1977dafc0239b400faf3db5 |
|
| https://github.com/cclauss |
| ruff --fix . | https://github.com/TheAlgorithms/Python/pull/8685/commits/ca5d46a1f0af3d1170ccfb08452a8119c8b5a60f |
| ca5d46a | https://github.com/TheAlgorithms/Python/pull/8685/commits/ca5d46a1f0af3d1170ccfb08452a8119c8b5a60f |
| updating DIRECTORY.md | https://github.com/TheAlgorithms/Python/pull/8685/commits/8d4fc7e9868ab78ce1ac4b9f70a0ca36b31c95c6 |
| 8d4fc7e | https://github.com/TheAlgorithms/Python/pull/8685/commits/8d4fc7e9868ab78ce1ac4b9f70a0ca36b31c95c6 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| dhruvmanila | https://github.com/dhruvmanila |
| realDuYuanChao | https://github.com/realDuYuanChao |
| April 23, 2023 22:13 | https://github.com/TheAlgorithms/Python/pull/8685#event-9075611340 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
enhancement
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
| Apr 23, 2023 | https://github.com/TheAlgorithms/Python/pull/8685#event-9075611419 |
|
| https://github.com/cclauss |
| Merge branch 'master' into aparibocci | https://github.com/TheAlgorithms/Python/pull/8685/commits/9ca2608217ec76bb61c71ea9366e9c2c67e44f0b |
| 9ca2608 | https://github.com/TheAlgorithms/Python/pull/8685/commits/9ca2608217ec76bb61c71ea9366e9c2c67e44f0b |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| April 24, 2023 08:18 | https://github.com/TheAlgorithms/Python/pull/8685#event-9078292133 |
| https://github.com/dhruvmanila |
| dhruvmanila | https://github.com/dhruvmanila |
|
Apr 27, 2023
| https://github.com/TheAlgorithms/Python/pull/8685#pullrequestreview-1404559846 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/8685/files/9ca2608217ec76bb61c71ea9366e9c2c67e44f0b |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| 4c1f876 | https://github.com/TheAlgorithms/Python/commit/4c1f876567673db0934ba65d662ea221465ec921 |
| Apr 27, 2023 | https://github.com/TheAlgorithms/Python/pull/8685#event-9117238991 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| April 27, 2023 18:45 | https://github.com/TheAlgorithms/Python/pull/8685#event-9117794604 |
| tianyizheng02 | https://github.com/tianyizheng02 |
|
May 29, 2023
| https://github.com/TheAlgorithms/Python/pull/8685#ref-commit-0fe7cf1 |
|
| https://github.com/cclauss |
|
| https://github.com/amos-syd |
|
| https://github.com/tianyizheng02 |
| Solving the | https://github.com/tianyizheng02/Python/commit/0fe7cf19043887bad3eff36a601a6cfc4475b2fa |
| Top k most frequent words | https://github.com/tianyizheng02/Python/commit/0fe7cf19043887bad3eff36a601a6cfc4475b2fa |
| problem using a max-heap ( | https://github.com/tianyizheng02/Python/commit/0fe7cf19043887bad3eff36a601a6cfc4475b2fa |
| The… | https://github.com/TheAlgorithms/Python/pull/8685 |
| 0fe7cf1 | https://github.com/tianyizheng02/Python/commit/0fe7cf19043887bad3eff36a601a6cfc4475b2fa |
| …Algorithms#8685 | https://github.com/TheAlgorithms/Python/pull/8685 |
| https://github.com/isidroas |
| isidroas | https://github.com/isidroas |
|
Jan 25, 2025
| https://github.com/TheAlgorithms/Python/pull/8685#ref-pullrequest-2810964802 |
|
dh
isidroas/Python#1
| https://github.com/isidroas/Python/pull/1 |
| 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%2F8685 |
|
| https://github.com/dhruvmanila |
|
dhruvmanila
| https://github.com/dhruvmanila |
|
| https://github.com/TheAlgorithms/Python/pull/8685/files/9ca2608217ec76bb61c71ea9366e9c2c67e44f0b |
|
| https://github.com/realDuYuanChao |
|
realDuYuanChao
| https://github.com/realDuYuanChao |
|
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 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/8685 |
|
| https://github.com/cclauss |
|
| https://github.com/dhruvmanila |
|
| https://github.com/amos-syd |
|
| 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 |