Skip to content

Update Binary_Search.js #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2024
Merged

Update Binary_Search.js #1

merged 1 commit into from
May 6, 2024

Conversation

Jay31kr
Copy link
Owner

@Jay31kr Jay31kr commented May 6, 2024

rather than using mid = (start + mid)/2 using start + (end-start)/2 as in some cases (start + end) can be out of the range

rather than using mid = (start + mid)/2 using start + (end-start)/2 as in some cases (start + end) can be out of the range
@Jay31kr Jay31kr merged commit af15a4b into master May 6, 2024
@Jay31kr Jay31kr assigned Jay31kr and unassigned Jay31kr May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant