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: Algorithms and Data Structures implemented in TypeScript for beginners, following best practices. - fix: handle the case when target is last in `jumpSearch` by vil02 · Pull Request #231 · TheAlgorithms/TypeScript
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 | /_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:191813fe-e6cc-f146-d2d5-fd7635ada40a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A476:357B25:33DD0E8:4ABEB7B:6A60F437 |
| html-safe-nonce | 12625b4f961a9887e0bec46592660ff52399aed628020867f9d5a31f65c4963f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDc2OjM1N0IyNTozM0REMEU4OjRBQkVCN0I6NkE2MEY0MzciLCJ2aXNpdG9yX2lkIjoiMzk0ODM4OTMwOTg4MDUyOTk3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f59be6cc184b0b6645fcefa7e756734bc43db8d5ab06964c9bf9eb06f4e6ef5a |
| 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/_view_fragments/voltron/pull_requests/show/TheAlgorithms/TypeScript/231/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9dba2c14dac6e828db6b0a0eaa7b719882aa08084836924158c1a773a955dc33/TheAlgorithms/TypeScript/pull/231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9dba2c14dac6e828db6b0a0eaa7b719882aa08084836924158c1a773a955dc33/TheAlgorithms/TypeScript/pull/231 |
| 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:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vil02 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01a0f3379195d313175de239776b09dd4a079d5b2ea29dd9c37e85cd4cd5e990 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 00ca1a9089c8f2453e5d118d0554c8a26883d159 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width