| 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:55debde7-5daa-e9dd-d946-72dcb120039d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC2A:32C32D:DED4F:137EE5:6AFB75B0 |
| html-safe-nonce | aa40f3494461c556f98b886cf23143569a765cf41916198723d7f860e0ab6311 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzJBOjMyQzMyRDpERUQ0RjoxMzdFRTU6NkFGQjc1QjAiLCJ2aXNpdG9yX2lkIjoiODQzOTc0OTI0MjU0MDIyNTk2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9382068004dc578707ebfa21cc63605b78eefae0dbc5ee25753e1102fa9a59d9 |
| hovercard-subject-tag | pull_request:1087675590 |
| 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/Java/3544/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1cfcb779265e86e6c24e7bc133ff854ad5b820d04662e2d6ee40e1d97271061b/TheAlgorithms/Java/pull/3544 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1cfcb779265e86e6c24e7bc133ff854ad5b820d04662e2d6ee40e1d97271061b/TheAlgorithms/Java/pull/3544 |
| og:image:alt | Describe your change:
Add an algorithm?
[ Fixed a bug when the value of mid is 0 or equal to length of array. It goes out of bound] Fix a bug or typo in an existing algorithm?
Documentation chan... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SahilSinghTomar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-cache |
| go-import | github.com/TheAlgorithms/Java git https://github.com/TheAlgorithms/Java.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63477660 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63477660 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Java |
| 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 | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Java/pull/3544#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F3544 |
| 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%2FJava%2Fpull%2F3544 |
| 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%2FJava |
| Reload | https://github.com/TheAlgorithms/Java/pull/3544 |
| Reload | https://github.com/TheAlgorithms/Java/pull/3544 |
| Reload | https://github.com/TheAlgorithms/Java/pull/3544 |
| TheAlgorithms | https://github.com/TheAlgorithms |
| Java | https://github.com/TheAlgorithms/Java |
| Code | https://github.com/TheAlgorithms/Java |
| Issues3 (3) | https://github.com/TheAlgorithms/Java/issues |
| Pull requests17 (17) | https://github.com/TheAlgorithms/Java/pulls |
| Actions | https://github.com/TheAlgorithms/Java/actions |
| Security and quality | https://github.com/TheAlgorithms/Java/security |
| Insights | https://github.com/TheAlgorithms/Java/pulse |
| https://github.com/TheAlgorithms/Java |
| SahilSinghTomar | https://github.com/SahilSinghTomar |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Java/tree/master |
| SahilSinghTomar:master | https://github.com/SahilSinghTomar/Java/tree/master |
| Conversation | https://github.com/TheAlgorithms/Java/pull/3544 |
| Commits7 (7) | https://github.com/TheAlgorithms/Java/pull/3544/commits |
| Checks | https://github.com/TheAlgorithms/Java/pull/3544/checks |
| Files changed | https://github.com/TheAlgorithms/Java/pull/3544/files |
| Fixed a bug in HowManyTimesRotated algorithm | https://github.com/TheAlgorithms/Java/pull/3544#top |
| SahilSinghTomar | https://github.com/SahilSinghTomar |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Java/tree/master |
| SahilSinghTomar:master | https://github.com/SahilSinghTomar/Java/tree/master |
|
| https://github.com/SahilSinghTomar |
| SahilSinghTomar | https://github.com/SahilSinghTomar |
| Oct 14, 2022 | https://github.com/TheAlgorithms/Java/pull/3544#issue-1409606293 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
| CONTRIBUTING.md | https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
| October 14, 2022 21:59 | https://github.com/TheAlgorithms/Java/pull/3544#commits-pushed-30c2c39 |
| added searching in a nearly sorted array | https://github.com/TheAlgorithms/Java/pull/3544/commits/30c2c39b4de0e710a1e1a6f601a1329ad2eaf7ce |
| 30c2c39 | https://github.com/TheAlgorithms/Java/pull/3544/commits/30c2c39b4de0e710a1e1a6f601a1329ad2eaf7ce |
| modified no of times sorted array rotated. | https://github.com/TheAlgorithms/Java/pull/3544/commits/cfccc84a3cad99a4f973a167ea3bfe6cb1427065 |
| cfccc84 | https://github.com/TheAlgorithms/Java/pull/3544/commits/cfccc84a3cad99a4f973a167ea3bfe6cb1427065 |
| https://github.com/SahilSinghTomar |
| SahilSinghTomar | https://github.com/SahilSinghTomar |
| siriak | https://github.com/siriak |
| yanglbme | https://github.com/yanglbme |
| code owners | https://github.com/TheAlgorithms/Java/blob/efac505a6dab22254f6d0458fa8df29d54ca733f/.github/CODEOWNERS#L1 |
| October 14, 2022 16:46 | https://github.com/TheAlgorithms/Java/pull/3544#event-7591948651 |
| https://github.com/SahilSinghTomar |
| SahilSinghTomar | https://github.com/SahilSinghTomar |
| Oct 14, 2022 | https://github.com/TheAlgorithms/Java/pull/3544#issuecomment-1279240716 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
| SahilSinghTomar | https://github.com/SahilSinghTomar |
| October 14, 2022 22:23 | https://github.com/TheAlgorithms/Java/pull/3544#commits-pushed-81c563a |
|
| https://github.com/SahilSinghTomar |
| changed variable name | https://github.com/TheAlgorithms/Java/pull/3544/commits/81c563ad42926edc5707994c6c01628d79019c64 |
| 81c563a | https://github.com/TheAlgorithms/Java/pull/3544/commits/81c563ad42926edc5707994c6c01628d79019c64 |
|
| https://github.com/SahilSinghTomar |
| Update HowManyTimesRotated.java | https://github.com/TheAlgorithms/Java/pull/3544/commits/b8616996e50730a29338e893309b4b193e9f4a6c |
| b861699 | https://github.com/TheAlgorithms/Java/pull/3544/commits/b8616996e50730a29338e893309b4b193e9f4a6c |
|
| https://github.com/SahilSinghTomar |
| removed public static | https://github.com/TheAlgorithms/Java/pull/3544/commits/b583f788098bcc01881136f6ada156b060a10eab |
| b583f78 | https://github.com/TheAlgorithms/Java/pull/3544/commits/b583f788098bcc01881136f6ada156b060a10eab |
|
| https://github.com/SahilSinghTomar |
| Update HowManyTimesRotated.java | https://github.com/TheAlgorithms/Java/pull/3544/commits/9cf98d189aa5afeabec6a37e94791a3f5f655ba5 |
| 9cf98d1 | https://github.com/TheAlgorithms/Java/pull/3544/commits/9cf98d189aa5afeabec6a37e94791a3f5f655ba5 |
|
| https://github.com/SahilSinghTomar |
| Update HowManyTimesRotated.java | https://github.com/TheAlgorithms/Java/pull/3544/commits/68e2ffdd72db25820271123f1adfbe52f8ecc32d |
| 68e2ffd | https://github.com/TheAlgorithms/Java/pull/3544/commits/68e2ffdd72db25820271123f1adfbe52f8ecc32d |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Nov 14, 2022 | https://github.com/TheAlgorithms/Java/pull/3544#issuecomment-1312873132 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
stale
| https://github.com/TheAlgorithms/Java/issues?q=state%3Aopen%20label%3Astale |
| Nov 14, 2022 | https://github.com/TheAlgorithms/Java/pull/3544#event-7799387479 |
| https://github.com/siriak |
| siriak | https://github.com/siriak |
|
Nov 14, 2022
| https://github.com/TheAlgorithms/Java/pull/3544#pullrequestreview-1178644650 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Java/pull/3544/files/68e2ffdd72db25820271123f1adfbe52f8ecc32d |
| siriak | https://github.com/siriak |
| https://github.com/TheAlgorithms/Java/pull/3544#pullrequestreview-1178644650 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/TheAlgorithms/Java/tree/master/src/test/java/com/thealgorithms | https://github.com/TheAlgorithms/Java/tree/master/src/test/java/com/thealgorithms |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Dec 24, 2022 | https://github.com/TheAlgorithms/Java/pull/3544#issuecomment-1364419098 |
| Gitter | https://gitter.im/TheAlgorithms |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Dec 24, 2022 | https://github.com/TheAlgorithms/Java/pull/3544#event-8106283729 |
| https://github.com/Saadanjum0 |
| Saadanjum0 | https://github.com/Saadanjum0 |
|
Oct 2, 2026
| https://github.com/TheAlgorithms/Java/pull/3544#ref-pullrequest-5677629734 |
|
fix: avoid out-of-bounds access in HowManyTimesRotated on small/unrotated arrays
#7626
| https://github.com/TheAlgorithms/Java/pull/7626 |
| https://github.co/hiddenchars |
| https://github.com/TheAlgorithms/Java/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%2FJava%2Fpull%2F3544 |
|
| https://github.com/siriak |
|
siriak
| https://github.com/siriak |
|
| https://github.com/TheAlgorithms/Java/pull/3544/files/68e2ffdd72db25820271123f1adfbe52f8ecc32d |
|
| https://github.com/yanglbme |
|
yanglbme
| https://github.com/yanglbme |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
|
stale
| https://github.com/TheAlgorithms/Java/issues?q=state%3Aopen%20label%3Astale |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/3544 |
|
| https://github.com/SahilSinghTomar |
|
| https://github.com/siriak |
|
| 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 |