| 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:2a3904dc-87f7-050f-fb96-cb7b867722c1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C83E:FD97C:8C2A84:C53AB3:6AFB6F62 |
| html-safe-nonce | d08f58bbf0171c661aa127c03dfcebdeee22734b4dca189b829e8dbcb3cdb696 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODNFOkZEOTdDOjhDMkE4NDpDNTNBQjM6NkFGQjZGNjIiLCJ2aXNpdG9yX2lkIjoiMTgxNDQwMTk1NjY2ODIwNjk0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ce0f19d8b9ddfa5d1233879d98d091d8cfeb350807f2274e1588b44dc409c669 |
| hovercard-subject-tag | pull_request:2365084489 |
| 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/12594/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d76911c3c493a04ae6df036f05f68e5f99eb8fa173ebb15aaea4a599a9897e41/TheAlgorithms/Python/pull/12594 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d76911c3c493a04ae6df036f05f68e5f99eb8fa173ebb15aaea4a599a9897e41/TheAlgorithms/Python/pull/12594 |
| og:image:alt | Describe your change:
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Add or change doctests? -- Note: Please avoid changing both code and tests in a single pull request.
Documen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | XenoBytesX |
| 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/12594#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F12594 |
| 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%2F12594 |
| 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/12594 |
| Reload | https://github.com/TheAlgorithms/Python/pull/12594 |
| Reload | https://github.com/TheAlgorithms/Python/pull/12594 |
| 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 |
| XenoBytesX | https://github.com/XenoBytesX |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| XenoBytesX:segment-tree | https://github.com/XenoBytesX/TheAlgorithm-Python/tree/segment-tree |
| Conversation | https://github.com/TheAlgorithms/Python/pull/12594 |
| Commits5 (5) | https://github.com/TheAlgorithms/Python/pull/12594/commits |
| Checks | https://github.com/TheAlgorithms/Python/pull/12594/checks |
| Files changed | https://github.com/TheAlgorithms/Python/pull/12594/files |
| Added Segment tree | https://github.com/TheAlgorithms/Python/pull/12594#top |
| XenoBytesX | https://github.com/XenoBytesX |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| XenoBytesX:segment-tree | https://github.com/XenoBytesX/TheAlgorithm-Python/tree/segment-tree |
|
| https://github.com/XenoBytesX |
| XenoBytesX | https://github.com/XenoBytesX |
| Feb 28, 2025 | https://github.com/TheAlgorithms/Python/pull/12594#issue-2887726464 |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md |
| type hints | https://docs.python.org/3/library/typing.html |
| doctests | https://docs.python.org/3/library/doctest.html |
| closing keyword | https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/12594 |
| XenoBytesX | https://github.com/XenoBytesX |
| February 28, 2025 23:01 | https://github.com/TheAlgorithms/Python/pull/12594#commits-pushed-0b2b39f |
|
| https://github.com/XenoBytesX |
| Create segment_tree.py | https://github.com/TheAlgorithms/Python/pull/12594/commits/0b2b39fb7b628ca8aa5ed6e6fb0e1b26f67a74de |
| 0b2b39f | https://github.com/TheAlgorithms/Python/pull/12594/commits/0b2b39fb7b628ca8aa5ed6e6fb0e1b26f67a74de |
|
| https://github.com/XenoBytesX |
| Merge branch 'TheAlgorithms:master' into segment-tree | https://github.com/TheAlgorithms/Python/pull/12594/commits/83a139c9f42fc5f9c4ad3b715b8c08e103c396c3 |
| 83a139c | https://github.com/TheAlgorithms/Python/pull/12594/commits/83a139c9f42fc5f9c4ad3b715b8c08e103c396c3 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/12594/commits/8e16739d525ccbe5cfd03879ebdcae31bf47f43b |
| 8e16739 | https://github.com/TheAlgorithms/Python/pull/12594/commits/8e16739d525ccbe5cfd03879ebdcae31bf47f43b |
| https://pre-commit.ci | https://pre-commit.ci |
|
| https://github.com/XenoBytesX |
| Updated segment_tree.py | https://github.com/TheAlgorithms/Python/pull/12594/commits/ac76a04ab400fd43d387bdc63b988fbf98d43090 |
| ac76a04 | https://github.com/TheAlgorithms/Python/pull/12594/commits/ac76a04ab400fd43d387bdc63b988fbf98d43090 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/TheAlgorithms/Python/pull/12594/commits/280bc4fe0e15251c5e9cc5ebd066b9595b93913e |
| 280bc4f | https://github.com/TheAlgorithms/Python/pull/12594/commits/280bc4fe0e15251c5e9cc5ebd066b9595b93913e |
| https://pre-commit.ci | https://pre-commit.ci |
| https://github.com/XenoBytesX |
| XenoBytesX | https://github.com/XenoBytesX |
| Mar 2, 2025 | https://github.com/TheAlgorithms/Python/pull/12594#event-16524219664 |
| https://github.com/XenoBytesX |
| XenoBytesX | https://github.com/XenoBytesX |
| Mar 2, 2025 | https://github.com/TheAlgorithms/Python/pull/12594#event-16524219882 |
| https://github.com/priya-sundaram-dev |
| priya-sundaram-dev | https://github.com/priya-sundaram-dev |
|
Sep 11, 2026
| https://github.com/TheAlgorithms/Python/pull/12594#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 16, 2026
| https://github.com/TheAlgorithms/Python/pull/12594#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 23, 2026 | https://github.com/TheAlgorithms/Python/pull/12594#event-31689943126 |
| 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%2F12594 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/12594 |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/12594 |
|
| https://github.com/XenoBytesX |
|
| 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 |