Skip to content
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

Binary Search Algorithm #5557

Open
suneel87 opened this issue Oct 23, 2021 · 1 comment
Open

Binary Search Algorithm #5557

suneel87 opened this issue Oct 23, 2021 · 1 comment

Comments

@suneel87
Copy link

@suneel87 suneel87 commented Oct 23, 2021

Problem Statement: Given a sorted array arr[] of n elements, write a function to search a given element x in arr[].

Input: An array arr[] of n elements and an element to search for, x

Output: Index of given element x, if present in arr[]

image

In case of multiple occurrences of the element, the first occurring index will be returned

Mmarcos01 added a commit to Mmarcos01/Python that referenced this issue Oct 23, 2021
Mmarcos01 added a commit to Mmarcos01/Python that referenced this issue Oct 23, 2021
@SoumyoNathTripathy
Copy link

@SoumyoNathTripathy SoumyoNathTripathy commented Oct 24, 2021

Hello , I am Soumyo Nath Tripathy.
I think I can do this task quite efficiently, please do assign me this task1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants