Binary Search Algorithm #5557
Comments
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
Hello , I am Soumyo Nath Tripathy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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[]
In case of multiple occurrences of the element, the first occurring index will be returned
The text was updated successfully, but these errors were encountered: