René's URL Explorer Experiment


Title: fix(cyclic_sort): validate input to prevent infinite loop by deepshekhardas · Pull Request #15057 · TheAlgorithms/Python · GitHub

Open Graph Title: fix(cyclic_sort): validate input to prevent infinite loop by deepshekhardas · Pull Request #15057 · TheAlgorithms/Python

X Title: fix(cyclic_sort): validate input to prevent infinite loop by deepshekhardas · Pull Request #15057 · TheAlgorithms/Python

Description: All Algorithms implemented in Python. Contribute to TheAlgorithms/Python development by creating an account on GitHub.

Open Graph Description: Description Fixes #14898 — cyclic_sort entered an infinite loop on inputs with duplicates or out-of-range values (e.g. [7,3,2,3,54,5,4]). Added upfront validation: raises ValueError if numbers are ...

X Description: Description Fixes #14898 — cyclic_sort entered an infinite loop on inputs with duplicates or out-of-range values (e.g. [7,3,2,3,54,5,4]). Added upfront validation: raises ValueError if numbers are ...

Opengraph URL: https://github.com/TheAlgorithms/Python/pull/15057

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ed9f3e69-b3bc-2b9c-c290-cb25be232fd6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0AC:11E6AB:82CBAE:B96361:6AFB6EC1
html-safe-nonce9b0aa4c9fd4247b0019f74b14b7d2ca5ea12f82d5d13b2420473762f2d03d822
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEFDOjExRTZBQjo4MkNCQUU6Qjk2MzYxOjZBRkI2RUMxIiwidmlzaXRvcl9pZCI6IjMxMDk1NjE2NzEzMzMxNDYzMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacce50208bc6af230236b1ef66f67ef73b100f7c78ae1d9ae24895696fcfb84e36
hovercard-subject-tagpull_request:4329186854
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Python/15057/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0ed52cc23bc69f13deaa0af85ea8e80441879b785aa162e3497d75f9f6da8e64/TheAlgorithms/Python/pull/15057
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ed52cc23bc69f13deaa0af85ea8e80441879b785aa162e3497d75f9f6da8e64/TheAlgorithms/Python/pull/15057
og:image:altDescription Fixes #14898 — cyclic_sort entered an infinite loop on inputs with duplicates or out-of-range values (e.g. [7,3,2,3,54,5,4]). Added upfront validation: raises ValueError if numbers are ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedeepshekhardas
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-cache
go-importgithub.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id63476337
octolytics-dimension-repository_nwoTheAlgorithms/Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/pull/15057#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F15057
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F15057
Sign uphttps://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
Reloadhttps://github.com/TheAlgorithms/Python/pull/15057
Reloadhttps://github.com/TheAlgorithms/Python/pull/15057
Reloadhttps://github.com/TheAlgorithms/Python/pull/15057
TheAlgorithmshttps://github.com/TheAlgorithms
Pythonhttps://github.com/TheAlgorithms/Python
Codehttps://github.com/TheAlgorithms/Python
Issues14 (14)https://github.com/TheAlgorithms/Python/issues
Pull requests104 (104)https://github.com/TheAlgorithms/Python/pulls
Discussionshttps://github.com/TheAlgorithms/Python/discussions
Actionshttps://github.com/TheAlgorithms/Python/actions
Projectshttps://github.com/TheAlgorithms/Python/projects
Wikihttps://github.com/TheAlgorithms/Python/wiki
Security and qualityhttps://github.com/TheAlgorithms/Python/security
Insightshttps://github.com/TheAlgorithms/Python/pulse
https://github.com/TheAlgorithms/Python
deepshekhardashttps://github.com/deepshekhardas
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
deepshekhardas:fix-14898-cyclic-sort-validationhttps://github.com/deepshekhardas/Python/tree/fix-14898-cyclic-sort-validation
Conversationhttps://github.com/TheAlgorithms/Python/pull/15057
Commits1 (1)https://github.com/TheAlgorithms/Python/pull/15057/commits
Checkshttps://github.com/TheAlgorithms/Python/pull/15057/checks
Files changedhttps://github.com/TheAlgorithms/Python/pull/15057/files
fix(cyclic_sort): validate input to prevent infinite loophttps://github.com/TheAlgorithms/Python/pull/15057#top
deepshekhardashttps://github.com/deepshekhardas
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
deepshekhardas:fix-14898-cyclic-sort-validationhttps://github.com/deepshekhardas/Python/tree/fix-14898-cyclic-sort-validation
https://github.com/deepshekhardas
deepshekhardashttps://github.com/deepshekhardas
Aug 21, 2026https://github.com/TheAlgorithms/Python/pull/15057#issue-5211000056
#14898https://github.com/TheAlgorithms/Python/issues/14898
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15057
fix(cyclic_sort): validate input to prevent infinite loophttps://github.com/TheAlgorithms/Python/pull/15057/commits/bf00f194cfec9391b25444d0744f8f32b5945ce3
bf00f19https://github.com/TheAlgorithms/Python/pull/15057/commits/bf00f194cfec9391b25444d0744f8f32b5945ce3
TheAlgorithms#14898https://github.com/TheAlgorithms/Python/issues/14898
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Aug 21, 2026https://github.com/TheAlgorithms/Python/pull/15057#event-29786230714
fix: raise ValueError for zero input in binary_count_trailing_zeros #15058 https://github.com/TheAlgorithms/Python/pull/15058
docs: add complexity analysis to insertion_sort docstring #15059 https://github.com/TheAlgorithms/Python/pull/15059
docs: add missing docstrings to tim_sort helpers #15060 https://github.com/TheAlgorithms/Python/pull/15060
chore: add type hints to pancake_sort #15061 https://github.com/TheAlgorithms/Python/pull/15061
docs: improve DDA algorithm docstring #15062 https://github.com/TheAlgorithms/Python/pull/15062
https://github.com/mindaugl
mindauglhttps://github.com/mindaugl
Aug 22, 2026 https://github.com/TheAlgorithms/Python/pull/15057#pullrequestreview-5000004531
View reviewed changes https://github.com/TheAlgorithms/Python/pull/15057/files/bf00f194cfec9391b25444d0744f8f32b5945ce3
fix(searches): handle empty list in jump_search #15135 https://github.com/TheAlgorithms/Python/pull/15135
fix(maths): add future annotations to fix self-referential Matrix type #15136 https://github.com/TheAlgorithms/Python/pull/15136
fix(graphs): use deque and dict indegree for sparse vertex IDs #15137 https://github.com/TheAlgorithms/Python/pull/15137
docs(sorts): add complexity analysis to insertion_sort docstring #15138 https://github.com/TheAlgorithms/Python/pull/15138
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 4, 2026https://github.com/TheAlgorithms/Python/pull/15057#issuecomment-5536667525
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15057
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 4, 2026https://github.com/TheAlgorithms/Python/pull/15057#event-30536283777
https://github.co/hiddenchars
https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F15057
https://github.com/mindaugl
mindaugl https://github.com/mindaugl
https://github.com/TheAlgorithms/Python/pull/15057/files/bf00f194cfec9391b25444d0744f8f32b5945ce3
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15057
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
cyclic_sort.py has no input validation, causes infinite loop on invalid input https://github.com/TheAlgorithms/Python/issues/14898
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15057
https://github.com/deepshekhardas
https://github.com/cclauss
https://github.com/mindaugl
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.