| 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:73ca01ac-2d3a-43f2-fcab-bc9797e60965 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD92:137082:C3470E:11403DE:6A5A1A0B |
| html-safe-nonce | bf186534a4f2902beff53fa5f75c5fd82c4f32ed32505cb8ce3f849dcbf76745 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDkyOjEzNzA4MjpDMzQ3MEU6MTE0MDNERTo2QTVBMUEwQiIsInZpc2l0b3JfaWQiOiI4MjYwNjE3NTMzOTgxODU4MzE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a28c6b0ebfa14169a515c607bcd214410c150576626c91a4edbd43bcbaaafeb |
| hovercard-subject-tag | pull_request:3445501534 |
| 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/14444/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f0e6ad5676fbf5fb82771b5a4887d88113b3ce90faf391732a24677d7c61dac8/TheAlgorithms/Python/pull/14444 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0e6ad5676fbf5fb82771b5a4887d88113b3ce90faf391732a24677d7c61dac8/TheAlgorithms/Python/pull/14444 |
| og:image:alt | Description
Fixed an issue where the pigeonhole_sort function would fail for empty input lists by adding a guard clause.
Also corrected output formatting in the main function by converting integers... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mahema-14 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e31742e80bbd077fd5679c13ed870ce4e0c13803a2fa5beaae557b6769de2c8a |
| 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 | c9fcdbf98c619d1561ed843fa01d9766a32b5cd9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/14444#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14444 |
| 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%2F14444 |
|
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/14444 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14444 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14444 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14444 |
|
TheAlgorithms
| https://github.com/TheAlgorithms |
| Python | https://github.com/TheAlgorithms/Python |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14444 |
|
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 |
| MaximSmolskiy | https://github.com/MaximSmolskiy |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| mahema-14:fix-pigeonhole-bug | https://github.com/mahema-14/Bug-fix-in-py/tree/fix-pigeonhole-bug |
| Conversation | https://github.com/TheAlgorithms/Python/pull/14444 |
| Commits7 (7) | https://github.com/TheAlgorithms/Python/pull/14444/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/14444/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/14444/files |
| Fix empty input edge case and correct output formatting | https://github.com/TheAlgorithms/Python/pull/14444#top |
| MaximSmolskiy | https://github.com/MaximSmolskiy |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| mahema-14:fix-pigeonhole-bug | https://github.com/mahema-14/Bug-fix-in-py/tree/fix-pigeonhole-bug |
|
| https://github.com/mahema-14 |
| mahema-14 | https://github.com/mahema-14 |
| Mar 25, 2026 | https://github.com/TheAlgorithms/Python/pull/14444#issue-4135831744 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14444 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14444 |
| mahema-14 | https://github.com/mahema-14 |
| March 25, 2026 19:49 | https://github.com/TheAlgorithms/Python/pull/14444#commits-pushed-4b67591 |
|
| https://github.com/mahema-14 |
| Fix empty input edge case and correct output formatting | https://github.com/TheAlgorithms/Python/pull/14444/commits/4b67591e65d9c3fd9f883dc804a38468a404b11e |
| 4b67591 | https://github.com/TheAlgorithms/Python/pull/14444/commits/4b67591e65d9c3fd9f883dc804a38468a404b11e |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14444/commits/7b231a42720144f4747e487fb3c19975e0e3cffb |
| 7b231a4 | https://github.com/TheAlgorithms/Python/pull/14444/commits/7b231a42720144f4747e487fb3c19975e0e3cffb |
| https://pre-commit.ci | https://pre-commit.ci |
| 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 |
| Mar 25, 2026 | https://github.com/TheAlgorithms/Python/pull/14444#event-23893408379 |
| https://github.com/mindaugl |
| mindaugl | https://github.com/mindaugl |
|
Mar 25, 2026
| https://github.com/TheAlgorithms/Python/pull/14444#pullrequestreview-4009444151 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/14444/files/a31a022ac51604cc067597d6a4eb172f33268006 |
| mahema-14 | https://github.com/mahema-14 |
| March 26, 2026 09:12 | https://github.com/TheAlgorithms/Python/pull/14444#commits-pushed-a31a022 |
|
| https://github.com/mahema-14 |
| Merge branch 'master' into fix-pigeonhole-bug | https://github.com/TheAlgorithms/Python/pull/14444/commits/a31a022ac51604cc067597d6a4eb172f33268006 |
| a31a022 | https://github.com/TheAlgorithms/Python/pull/14444/commits/a31a022ac51604cc067597d6a4eb172f33268006 |
|
| https://github.com/MaximSmolskiy |
| Update pigeonhole_sort.py | https://github.com/TheAlgorithms/Python/pull/14444/commits/7268d287290d70deadfce2cb69045daacb1c8b43 |
| 7268d28 | https://github.com/TheAlgorithms/Python/pull/14444/commits/7268d287290d70deadfce2cb69045daacb1c8b43 |
| 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 |
| Apr 10, 2026 | https://github.com/TheAlgorithms/Python/pull/14444#event-24396082763 |
| MaximSmolskiy | https://github.com/MaximSmolskiy |
| April 11, 2026 00:41 | https://github.com/TheAlgorithms/Python/pull/14444#commits-pushed-7456a84 |
|
| https://github.com/MaximSmolskiy |
| Update pigeonhole_sort.py | https://github.com/TheAlgorithms/Python/pull/14444/commits/7456a84856e7122c89b3bc6ba2fb346405e726f1 |
| 7456a84 | https://github.com/TheAlgorithms/Python/pull/14444/commits/7456a84856e7122c89b3bc6ba2fb346405e726f1 |
|
| https://github.com/MaximSmolskiy |
| Update pigeonhole_sort.py | https://github.com/TheAlgorithms/Python/pull/14444/commits/f605cfadf7872a9ff942df5cd141b6c4b9dd0924 |
| f605cfa | https://github.com/TheAlgorithms/Python/pull/14444/commits/f605cfadf7872a9ff942df5cd141b6c4b9dd0924 |
| 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 |
| Apr 10, 2026 | https://github.com/TheAlgorithms/Python/pull/14444#event-24396403359 |
|
| https://github.com/MaximSmolskiy |
| Merge branch 'master' into fix-pigeonhole-bug | https://github.com/TheAlgorithms/Python/pull/14444/commits/bf4ddd00217d47887bf4d69c22bc938bba51caf4 |
| bf4ddd0 | https://github.com/TheAlgorithms/Python/pull/14444/commits/bf4ddd00217d47887bf4d69c22bc938bba51caf4 |
| https://github.com/MaximSmolskiy |
| MaximSmolskiy | https://github.com/MaximSmolskiy |
|
Apr 10, 2026
| https://github.com/TheAlgorithms/Python/pull/14444#pullrequestreview-4092684073 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/14444/files/bf4ddd00217d47887bf4d69c22bc938bba51caf4 |
| 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 |
| Apr 10, 2026 | https://github.com/TheAlgorithms/Python/pull/14444#event-24396484967 |
| https://github.com/MaximSmolskiy |
| MaximSmolskiy | https://github.com/MaximSmolskiy |
| fc2f947 | https://github.com/TheAlgorithms/Python/commit/fc2f947e0fabb84862737aa7fed05e6322389f0b |
| Apr 10, 2026 | https://github.com/TheAlgorithms/Python/pull/14444#event-24396688958 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14444 |
| 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%2F14444 |
|
| https://github.com/MaximSmolskiy |
|
MaximSmolskiy
| https://github.com/MaximSmolskiy |
|
| https://github.com/TheAlgorithms/Python/pull/14444/files/bf4ddd00217d47887bf4d69c22bc938bba51caf4 |
|
| https://github.com/mindaugl |
|
mindaugl
| https://github.com/mindaugl |
|
| https://github.com/TheAlgorithms/Python/pull/14444/files/a31a022ac51604cc067597d6a4eb172f33268006 |
|
enhancement
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14444 |
|
| https://github.com/mahema-14 |
|
| https://github.com/MaximSmolskiy |
|
| https://github.com/mindaugl |
|
| 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 |