| 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:f7d3c336-e2bb-be6f-9e5d-ea2230dd85e2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B110:9D91A:7FA5D0:B4A3C0:6AFB6EC5 |
| html-safe-nonce | 837b0c931e9615ad222e8b101e9e9bfc888862639e1ff569a70fe71230a290d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTEwOjlEOTFBOjdGQTVEMDpCNEEzQzA6NkFGQjZFQzUiLCJ2aXNpdG9yX2lkIjoiMzMxODYzNDcxMzU5Mjg1MjE2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3598bde766acad46fdea7fbe4f7cb00f3c92ca7832344c9adec0199f6a0947b8 |
| hovercard-subject-tag | pull_request:2934612318 |
| 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/13661/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3c34382494a9d3aedb94d52cb2783fe3a3499442e2e5c1f5d376359be1f4e384/TheAlgorithms/Python/pull/13661 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c34382494a9d3aedb94d52cb2783fe3a3499442e2e5c1f5d376359be1f4e384/TheAlgorithms/Python/pull/13661 |
| og:image:alt | Implement sliding window maximum algorithm using deque.
Describe your change:
Added a new algorithm implementation that finds the maximum value in every window of size k in an array using an optimi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MahyudeenShahid |
| hostname | github.com |
| expected-hostname | github.com |
| None | cca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700 |
| 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 | 88808b1fae5ab8a526a73e7ce5542a10eb9d6971 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/13661#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F13661 |
| 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%2F13661 |
| 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/13661 |
| Reload | https://github.com/TheAlgorithms/Python/pull/13661 |
| Reload | https://github.com/TheAlgorithms/Python/pull/13661 |
| 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 |
| MahyudeenShahid | https://github.com/MahyudeenShahid |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| MahyudeenShahid:master | https://github.com/MahyudeenShahid/Python/tree/master |
| Conversation | https://github.com/TheAlgorithms/Python/pull/13661 |
| Commits2 (2) | https://github.com/TheAlgorithms/Python/pull/13661/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/13661/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/13661/files |
| Implement sliding window maximum algorithm using deque | https://github.com/TheAlgorithms/Python/pull/13661#top |
| MahyudeenShahid | https://github.com/MahyudeenShahid |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| MahyudeenShahid:master | https://github.com/MahyudeenShahid/Python/tree/master |
|
| https://github.com/MahyudeenShahid |
| MahyudeenShahid | https://github.com/MahyudeenShahid |
| Oct 21, 2025 | https://github.com/TheAlgorithms/Python/pull/13661#issue-3537925404 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| type hints | https://docs.python.org/3/library/typing.html |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
|
| https://github.com/MahyudeenShahid |
| Add sliding_window_maximum function | https://github.com/TheAlgorithms/Python/pull/13661/commits/0a6830adf02fce5485de340862b15baeaf7c202c |
| 0a6830a | https://github.com/TheAlgorithms/Python/pull/13661/commits/0a6830adf02fce5485de340862b15baeaf7c202c |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
require descriptive names
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22require%20descriptive%20names%22 |
| Oct 21, 2025 | https://github.com/TheAlgorithms/Python/pull/13661#event-20413645801 |
| https://github.com/apps/algorithms-keeper |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
|
Oct 21, 2025
| https://github.com/TheAlgorithms/Python/pull/13661#pullrequestreview-3362432615 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Python/pull/13661/files/0a6830adf02fce5485de340862b15baeaf7c202c |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| https://github.com/TheAlgorithms/Python/pull/13661#pullrequestreview-3362432615 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Contributing guidelines | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| Project Euler solution guidelines | https://github.com/TheAlgorithms/Python/blob/master/project_euler/README.md |
| Formatted string literals (f-strings) | https://docs.python.org/3/tutorial/inputoutput.html#tut-f-strings |
| Type hints | https://docs.python.org/3/library/typing.html |
| doctest | https://docs.python.org/3/library/doctest.html |
| unittest | https://docs.python.org/3/library/unittest.html |
| pytest | https://docs.pytest.org/en/stable/ |
| algorithms-keeper | https://github.com/dhruvmanila/algorithms-keeper |
| please open an issue about it. | https://github.com/dhruvmanila/algorithms-keeper/issues |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
| data_structures/arrays/sliding_window_maximum.py | https://github.com/TheAlgorithms/Python/pull/13661/files/0a6830adf02fce5485de340862b15baeaf7c202c#diff-b335e70c4f218d614d483f0aa7bce9e54b526d7c8b631b53fafb67bcc2388ac6 |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 21, 2025 | https://github.com/TheAlgorithms/Python/pull/13661#discussion_r2449499913 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
| 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 |
| Oct 21, 2025 | https://github.com/TheAlgorithms/Python/pull/13661#event-20413646411 |
|
| https://github.com/MahyudeenShahid |
| Refactor sliding_window_maximum function signature | https://github.com/TheAlgorithms/Python/pull/13661/commits/2ac3757f5ef7f01286baaf1c6f025095dcd5098f |
| 2ac3757 | https://github.com/TheAlgorithms/Python/pull/13661/commits/2ac3757f5ef7f01286baaf1c6f025095dcd5098f |
| 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 |
|
require descriptive names
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22require%20descriptive%20names%22 |
|
tests are failing
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22 |
| Oct 21, 2025 | https://github.com/TheAlgorithms/Python/pull/13661#event-20413828066 |
| https://github.com/MahyudeenShahid |
| MahyudeenShahid | https://github.com/MahyudeenShahid |
| Oct 22, 2025 | https://github.com/TheAlgorithms/Python/pull/13661#issuecomment-3434291060 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
| https://github.com/priya-sundaram-dev |
| priya-sundaram-dev | https://github.com/priya-sundaram-dev |
|
Sep 11, 2026
| https://github.com/TheAlgorithms/Python/pull/13661#ref-issue-5242842322 |
|
priya-sundaram-dev as a triager?
#15081
| https://github.com/TheAlgorithms/Python/issues/15081 |
| https://github.com/cclauss |
| cclauss | https://github.com/cclauss |
|
Sep 13, 2026
| https://github.com/TheAlgorithms/Python/pull/13661#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 |
| Sep 25, 2026 | https://github.com/TheAlgorithms/Python/pull/13661#event-31804016980 |
| https://github.com/TheAlgorithms |
| TheAlgorithms | https://github.com/TheAlgorithms |
| mmrajan | https://github.com/mmrajan |
| Sep 25, 2026 | https://github.com/TheAlgorithms/Python/pull/13661#event-31810815361 |
| 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%2F13661 |
|
| https://github.com/apps/algorithms-keeper |
|
algorithms-keeper[bot]
| https://github.com/apps/algorithms-keeper |
|
| https://github.com/TheAlgorithms/Python/pull/13661/files/0a6830adf02fce5485de340862b15baeaf7c202c |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
|
awaiting reviews
| https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13661 |
|
| https://github.com/MahyudeenShahid |
|
| 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 |