| 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:2a12dba0-4d49-5662-8275-88e8ff7878e1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A7EA:16FEFE:A8FBC7:EDD82B:6AFB78DD |
| html-safe-nonce | e431154984a8450021c705184737c3b823ee77d26860d76784549fffe122935f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0VBOjE2RkVGRTpBOEZCQzc6RUREODJCOjZBRkI3OEREIiwidmlzaXRvcl9pZCI6Ijg4NTI4MTI0NTIzMDgxNTQ1OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7f6cab1641f4b04d8acacbb45d6e68b180752153a9c343b03fa61e22f1a4831c |
| hovercard-subject-tag | pull_request:3200929836 |
| 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/14197/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/98a2332f4291782dda19d7e20711d082e03c9da667241c3036605aa796ded855/TheAlgorithms/Python/pull/14197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98a2332f4291782dda19d7e20711d082e03c9da667241c3036605aa796ded855/TheAlgorithms/Python/pull/14197 |
| og:image:alt | Describe your change:
Fix a bug or typo in an existing algorithm?
This pull request improves the clarity and robustness of
kth_lexicographic_permutation without changing the underlying algorithm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yaadhuu |
| hostname | github.com |
| expected-hostname | github.com |
| None | ef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188 |
| 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 | bc3703b4dcbe820d1284ef63c88b001c850be25e |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/14197#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14197 |
| 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%2F14197 |
| 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/14197 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14197 |
| Reload | https://github.com/TheAlgorithms/Python/pull/14197 |
| 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 |
| yaadhuu | https://github.com/yaadhuu |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| yaadhuu:fix/kth-lexicographic-permutation | https://github.com/yaadhuu/Python/tree/fix/kth-lexicographic-permutation |
| Conversation | https://github.com/TheAlgorithms/Python/pull/14197 |
| Commits7 (7) | https://github.com/TheAlgorithms/Python/pull/14197/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/14197/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/14197/files |
| Fix kth lexicographic permutation | https://github.com/TheAlgorithms/Python/pull/14197#top |
| yaadhuu | https://github.com/yaadhuu |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| yaadhuu:fix/kth-lexicographic-permutation | https://github.com/yaadhuu/Python/tree/fix/kth-lexicographic-permutation |
|
| https://github.com/yaadhuu |
| yaadhuu | https://github.com/yaadhuu |
| Jan 22, 2026 | https://github.com/TheAlgorithms/Python/pull/14197#issue-3844707538 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14197 |
| yaadhuu | https://github.com/yaadhuu |
| January 23, 2026 00:54 | https://github.com/TheAlgorithms/Python/pull/14197#commits-pushed-435f37f |
|
| https://github.com/yaadhuu |
| Use TypeError for non-string input in count_vowels | https://github.com/TheAlgorithms/Python/pull/14197/commits/435f37f5b13b836f8e6fb463fa614dd162013c29 |
| 435f37f | https://github.com/TheAlgorithms/Python/pull/14197/commits/435f37f5b13b836f8e6fb463fa614dd162013c29 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14197/commits/38c91dfd9c3aeefa484aceb4f7841fe92f518eed |
| 38c91df | https://github.com/TheAlgorithms/Python/pull/14197/commits/38c91dfd9c3aeefa484aceb4f7841fe92f518eed |
| https://pre-commit.ci | https://pre-commit.ci |
|
| https://github.com/yaadhuu |
| Fix docstring and improve input validation in kth_lexicographic_permu… | https://github.com/TheAlgorithms/Python/pull/14197/commits/d026807048b036ea077ced502987c373c0e800ff |
| d026807 | https://github.com/TheAlgorithms/Python/pull/14197/commits/d026807048b036ea077ced502987c373c0e800ff |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14197/commits/68c846dc0e95cd4abfa659912abaf8e5e28b07d1 |
| 68c846d | https://github.com/TheAlgorithms/Python/pull/14197/commits/68c846dc0e95cd4abfa659912abaf8e5e28b07d1 |
| https://pre-commit.ci | https://pre-commit.ci |
|
| https://github.com/yaadhuu |
| Fix docstring and improve input validation in kth_lexicographic_permu… | https://github.com/TheAlgorithms/Python/pull/14197/commits/9f73cccf04c2a2f4941882270ed43f8949edcdb7 |
| 9f73ccc | https://github.com/TheAlgorithms/Python/pull/14197/commits/9f73cccf04c2a2f4941882270ed43f8949edcdb7 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/14197/commits/ce19ee4f28e4fac662c608c5ac0cdf9a7d24e365 |
| ce19ee4 | https://github.com/TheAlgorithms/Python/pull/14197/commits/ce19ee4f28e4fac662c608c5ac0cdf9a7d24e365 |
| 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 |
| Jan 22, 2026 | https://github.com/TheAlgorithms/Python/pull/14197#event-22226465352 |
|
| https://github.com/cclauss |
| Change TypeError to ValueError for input validation | https://github.com/TheAlgorithms/Python/pull/14197/commits/40e46d6698aebfa6aaa267b952531136ca864d9f |
| 40e46d6 | https://github.com/TheAlgorithms/Python/pull/14197/commits/40e46d6698aebfa6aaa267b952531136ca864d9f |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
Sep 13, 2026
| https://github.com/TheAlgorithms/Python/pull/14197#ref-issue-5437954679 |
|
Open Pull Request File Map
#15310
| https://github.com/TheAlgorithms/Python/issues/15310 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
| Oct 1, 2026 | https://github.com/TheAlgorithms/Python/pull/14197#event-32228823794 |
| 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%2F14197 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/14197 |
|
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/14197 |
|
| https://github.com/yaadhuu |
|
| 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 |