René's URL Explorer Experiment


Title: Fix kahns algo sparse vertex performance by Kanika0306 · Pull Request #15072 · TheAlgorithms/Python · GitHub

Open Graph Title: Fix kahns algo sparse vertex performance by Kanika0306 · Pull Request #15072 · TheAlgorithms/Python

X Title: Fix kahns algo sparse vertex performance by Kanika0306 · Pull Request #15072 · TheAlgorithms/Python

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

Open Graph Description: Describe your change: Fixes the O(N) queue operation caused by list.pop(0) by using collections.deque and queue.popleft(), ensuring constant-time dequeue operations and preserving the expected O(...

X Description: Describe your change: Fixes the O(N) queue operation caused by list.pop(0) by using collections.deque and queue.popleft(), ensuring constant-time dequeue operations and preserving the expected O(...

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

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:03e43457-b4b3-7595-17cf-497cc7e37e02
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC128:3222E4:AA2E78:F05F7A:6AFB78D3
html-safe-noncec7148122fe313c66e21e229980a8757178d32cc19dfd8217bb0d891820c9c5e9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTI4OjMyMjJFNDpBQTJFNzg6RjA1RjdBOjZBRkI3OEQzIiwidmlzaXRvcl9pZCI6IjQwNDc3NjE0MTg0NjIzOTQ1NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca0f16b4c594760e3e5e3985559e138667d73619d6fd02d4501c0926fa29668d1
hovercard-subject-tagpull_request:4339846886
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/15072/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ad46e5c379415f2f44fd0d97ccb82f1bd0654f996dfa79805dd1da9746e61797/TheAlgorithms/Python/pull/15072
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ad46e5c379415f2f44fd0d97ccb82f1bd0654f996dfa79805dd1da9746e61797/TheAlgorithms/Python/pull/15072
og:image:altDescribe your change: Fixes the O(N) queue operation caused by list.pop(0) by using collections.deque and queue.popleft(), ensuring constant-time dequeue operations and preserving the expected O(...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKanika0306
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/pull/15072#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F15072
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%2F15072
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/15072
Reloadhttps://github.com/TheAlgorithms/Python/pull/15072
Reloadhttps://github.com/TheAlgorithms/Python/pull/15072
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
cclausshttps://github.com/cclauss
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
Kanika0306:fix-kahns-algo-sparse-vertex-performancehttps://github.com/Kanika0306/Python/tree/fix-kahns-algo-sparse-vertex-performance
Conversationhttps://github.com/TheAlgorithms/Python/pull/15072
Commits8 (8)https://github.com/TheAlgorithms/Python/pull/15072/commits
Checkshttps://github.com/TheAlgorithms/Python/pull/15072/checks
Files changedhttps://github.com/TheAlgorithms/Python/pull/15072/files
Fix kahns algo sparse vertex performancehttps://github.com/TheAlgorithms/Python/pull/15072#top
cclausshttps://github.com/cclauss
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
Kanika0306:fix-kahns-algo-sparse-vertex-performancehttps://github.com/Kanika0306/Python/tree/fix-kahns-algo-sparse-vertex-performance
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Aug 22, 2026https://github.com/TheAlgorithms/Python/pull/15072#issue-5223993427
https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.mdhttps://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md
type hintshttps://docs.python.org/3/library/typing.html
doctestshttps://docs.python.org/3/library/doctest.html
closing keywordhttps://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
#15071https://github.com/TheAlgorithms/Python/issues/15071
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
Kanika0306https://github.com/Kanika0306
August 23, 2026 02:26https://github.com/TheAlgorithms/Python/pull/15072#commits-pushed-11d2a47
https://github.com/Kanika0306
fix: sub-interval midpoint formula in ternary searchhttps://github.com/TheAlgorithms/Python/pull/15072/commits/11d2a47cc1d71df2b116e333fdca6d7c3d9a8d9d
11d2a47https://github.com/TheAlgorithms/Python/pull/15072/commits/11d2a47cc1d71df2b116e333fdca6d7c3d9a8d9d
https://github.com/Kanika0306
fix(graphs): use deque and dict for kahns algorithm sparse verticeshttps://github.com/TheAlgorithms/Python/pull/15072/commits/15bcd92c37cfa376b35bf66199e9c8c4c9fbcda1
15bcd92https://github.com/TheAlgorithms/Python/pull/15072/commits/15bcd92c37cfa376b35bf66199e9c8c4c9fbcda1
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 22, 2026 21:21https://github.com/TheAlgorithms/Python/pull/15072#event-29857468605
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://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
Aug 22, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-29857469865
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Aug 22, 2026 https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5001076909
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5001076909
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/TheAlgorithms/Python/pull/15072/commits/c070fac9471088b0cdbdffb20623887d318e0f01
c070fachttps://github.com/TheAlgorithms/Python/pull/15072/commits/c070fac9471088b0cdbdffb20623887d318e0f01
https://pre-commit.cihttps://pre-commit.ci
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Aug 26, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5426032881
@cclausshttps://github.com/cclauss
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Aug 26, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5426058126
@cclausshttps://github.com/cclauss
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
Merge branch 'master' into fix-kahns-algo-sparse-vertex-performancehttps://github.com/TheAlgorithms/Python/pull/15072/commits/48e61445a86bbb5ce78734ad4d80c2fb33572632
48e6144https://github.com/TheAlgorithms/Python/pull/15072/commits/48e61445a86bbb5ce78734ad4d80c2fb33572632
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Aug 26, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5427506032
@mindauglhttps://github.com/mindaugl
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 6, 2026 https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5125659805
View reviewed changes https://github.com/TheAlgorithms/Python/pull/15072/files/48e61445a86bbb5ce78734ad4d80c2fb33572632
cclausshttps://github.com/cclauss
https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5125659805
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://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
Sep 6, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-30643513670
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Sep 9, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5608900769
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
perf(graphs): benchmark kahns queue performancehttps://github.com/TheAlgorithms/Python/pull/15072/commits/67508934bc871239066201d00d3212da79d81349
6750893https://github.com/TheAlgorithms/Python/pull/15072/commits/67508934bc871239066201d00d3212da79d81349
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://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
Sep 12, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-31015457724
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 12, 2026 https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5185950749
View reviewed changes https://github.com/TheAlgorithms/Python/pull/15072/files/67508934bc871239066201d00d3212da79d81349
graphs/kahns_algorithm_topo.pyhttps://github.com/TheAlgorithms/Python/pull/15072/files/67508934bc871239066201d00d3212da79d81349#diff-28d64e00e46a55e2ac60da29420f3901f661e33baa5839dacf78d9fb86bec260
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
perf(graphs): benchmark topological_sort queue performancehttps://github.com/TheAlgorithms/Python/pull/15072/commits/9241eab3cd74d0e27d117516af0673f167e4ae0a
9241eabhttps://github.com/TheAlgorithms/Python/pull/15072/commits/9241eab3cd74d0e27d117516af0673f167e4ae0a
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
Sep 12, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-31016586271
https://github.com/Kanika0306
style(graphs): fix line length in kahns algorithm benchmarkhttps://github.com/TheAlgorithms/Python/pull/15072/commits/57651d86579046c1950bd6afec68dd4c5309bc2e
57651d8https://github.com/TheAlgorithms/Python/pull/15072/commits/57651d86579046c1950bd6afec68dd4c5309bc2e
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
Sep 12, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-31016729555
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
cclausshttps://github.com/cclauss
September 12, 2026 09:18https://github.com/TheAlgorithms/Python/pull/15072#event-31016734623
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 12, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5644978606
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Sep 12, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5644993207
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 13, 2026 https://github.com/TheAlgorithms/Python/pull/15072#ref-issue-5437954679
Open Pull Request File Map #15310 https://github.com/TheAlgorithms/Python/issues/15310
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 13, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5652125993
@priya-sundaram-devhttps://github.com/priya-sundaram-dev
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/priya-sundaram-dev
priya-sundaram-devhttps://github.com/priya-sundaram-dev
Sep 13, 2026 https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5190208232
View reviewed changes https://github.com/TheAlgorithms/Python/pull/15072/files/57651d86579046c1950bd6afec68dd4c5309bc2e
priya-sundaram-devhttps://github.com/priya-sundaram-dev
https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5190208232
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
Sep 13, 2026https://github.com/TheAlgorithms/Python/pull/15072#issuecomment-5652464576
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
refactor(graphs): remove benchmark baseline and microbenchmark from k…https://github.com/TheAlgorithms/Python/pull/15072/commits/56112884253987fa9f83f54a321f86196fbe502c
5611288https://github.com/TheAlgorithms/Python/pull/15072/commits/56112884253987fa9f83f54a321f86196fbe502c
https://github.com/Kanika0306
Kanika0306https://github.com/Kanika0306
priya-sundaram-devhttps://github.com/priya-sundaram-dev
September 13, 2026 10:14https://github.com/TheAlgorithms/Python/pull/15072#event-31049238178
https://github.com/priya-sundaram-dev
priya-sundaram-devhttps://github.com/priya-sundaram-dev
Sep 13, 2026 https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5190401716
View reviewed changes https://github.com/TheAlgorithms/Python/pull/15072/files/56112884253987fa9f83f54a321f86196fbe502c
priya-sundaram-devhttps://github.com/priya-sundaram-dev
https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5190401716
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@Kanika0306https://github.com/Kanika0306
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 13, 2026 https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5190478057
View reviewed changes https://github.com/TheAlgorithms/Python/pull/15072/files/56112884253987fa9f83f54a321f86196fbe502c
cclausshttps://github.com/cclauss
https://github.com/TheAlgorithms/Python/pull/15072#pullrequestreview-5190478057
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
given enough eyeballs, all bugs are shallowhttps://en.wikipedia.org/wiki/Linus%27s_law
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/cclauss
cclausshttps://github.com/cclauss
76895aahttps://github.com/TheAlgorithms/Python/commit/76895aafb7563309d218aa01f50e14eb6e072092
Sep 13, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-31050231027
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
Sep 13, 2026https://github.com/TheAlgorithms/Python/pull/15072#event-31050235994
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%2F15072
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/TheAlgorithms/Python/pull/15072/files/15bcd92c37cfa376b35bf66199e9c8c4c9fbcda1
https://github.com/cclauss
cclauss https://github.com/cclauss
https://github.com/TheAlgorithms/Python/pull/15072/files/56112884253987fa9f83f54a321f86196fbe502c
https://github.com/priya-sundaram-dev
priya-sundaram-dev https://github.com/priya-sundaram-dev
https://github.com/TheAlgorithms/Python/pull/15072/files/56112884253987fa9f83f54a321f86196fbe502c
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
[BUG] Inefficient pop(0) queue operations and IndexError on sparse vertex IDs in graphs/kahns_algorithm_topo.py https://github.com/TheAlgorithms/Python/issues/15071
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/15072
https://github.com/Kanika0306
https://github.com/cclauss
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/priya-sundaram-dev
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.