Title: fix: improve binary search mid calculation to avoid overflow by satish-sharma360 · Pull Request #1891 · TheAlgorithms/JavaScript · GitHub
Open Graph Title: fix: improve binary search mid calculation to avoid overflow by satish-sharma360 · Pull Request #1891 · TheAlgorithms/JavaScript
X Title: fix: improve binary search mid calculation to avoid overflow by satish-sharma360 · Pull Request #1891 · TheAlgorithms/JavaScript
Description: Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. - fix: improve binary search mid calculation to avoid overflow by satish-sharma360 · Pull Request #1891 · TheAlgorithms/JavaScript
Open Graph Description: Describe your change: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Improved the binary search implementation by updating the mid calculation. Old approac...
X Description: Describe your change: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Improved the binary search implementation by updating the mid calculation. Old approac...
Opengraph URL: https://github.com/TheAlgorithms/JavaScript/pull/1891
X: @github
Domain: Github.com
| 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:6d288810-4019-e639-e866-1aea9b053325 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9176:E7E86:FFAC68:17147D2:6A632DDD |
| html-safe-nonce | 43c979f732b35dca5d2aaf5a27db284c9a09d23dcf5c4c557df220d18248a9ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTc2OkU3RTg2OkZGQUM2ODoxNzE0N0QyOjZBNjMyREREIiwidmlzaXRvcl9pZCI6Ijc3ODQwOTM4NjMxMzM3ODU1NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2bb82d7058c46124b58b5d9d4bfb91d4993f00a44fd74b8af021e73aa904b41b |
| hovercard-subject-tag | pull_request:3502989257 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/JavaScript/1891/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7a6957b8416a83b34fc1d6db225fc8511b9deba426e67637b389079a8194eacf/TheAlgorithms/JavaScript/pull/1891 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a6957b8416a83b34fc1d6db225fc8511b9deba426e67637b389079a8194eacf/TheAlgorithms/JavaScript/pull/1891 |
| og:image:alt | Describe your change: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Improved the binary search implementation by updating the mid calculation. Old approac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | satish-sharma360 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa |
| turbo-cache-control | no-cache |
| go-import | github.com/TheAlgorithms/JavaScript git https://github.com/TheAlgorithms/JavaScript.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 97086543 |
| octolytics-dimension-repository_nwo | TheAlgorithms/JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 97086543 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/JavaScript |
| 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 | 331492a48ebd91d66ef2de38e1901bb911c9fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width