Title: fix: handle the case when target is last in `jumpSearch` by vil02 · Pull Request #231 · TheAlgorithms/TypeScript · GitHub
Open Graph Title: fix: handle the case when target is last in `jumpSearch` by vil02 · Pull Request #231 · TheAlgorithms/TypeScript
X Title: fix: handle the case when target is last in `jumpSearch` by vil02 · Pull Request #231 · TheAlgorithms/TypeScript
Description: jumpSearch([1, 3, 5, 8], 8) does not give the correct result. This PR fixes that and adds more test cases.
Open Graph Description: jumpSearch([1, 3, 5, 8], 8) does not give the correct result. This PR fixes that and adds more test cases.
X Description: jumpSearch([1, 3, 5, 8], 8) does not give the correct result. This PR fixes that and adds more test cases.
Opengraph URL: https://github.com/TheAlgorithms/TypeScript/pull/231
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bfc7940c-4a0f-ec29-ff19-6df12d473a9b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 887C:9496:48F194:62D7C2:6A611B1C |
| html-safe-nonce | 3d2eace8f5c30a784cb5a9e351bcadc8346c78463e539848911dda674e298b83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODdDOjk0OTY6NDhGMTk0OjYyRDdDMjo2QTYxMUIxQyIsInZpc2l0b3JfaWQiOiIyNDIwNTE3MTU2MDM3OTI1NjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bea3682be8195dd5558c42001c6382913f3d9cabd276b011691b734ff3370718 |
| hovercard-subject-tag | pull_request:1752008561 |
| 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/TheAlgorithms/TypeScript/pull/231/files |
| twitter:image | https://avatars.githubusercontent.com/u/65706193?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65706193?s=400&v=4 |
| og:image:alt | jumpSearch([1, 3, 5, 8], 8) does not give the correct result. This PR fixes that and adds more test cases. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5d23cf1c0cd2fa53870b9a743b3e1bc3ff0d0b0b3a477b50251e1c9dd8ecb93d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TheAlgorithms/TypeScript git https://github.com/TheAlgorithms/TypeScript.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 532391729 |
| octolytics-dimension-repository_nwo | TheAlgorithms/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 532391729 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | abf5a2f79ab9b533c5865f5281057f7d17cf18f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width