Skip to content

Commit a9fe630

Browse files
authored
Merge pull request #1918 from rayeenshoaib/patch-36
Binary Search ReadMe File
2 parents 898e572 + cc40082 commit a9fe630

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Binary Search: Search a sorted array by repeatedly dividing the search interval in half. Begin with an interval covering the whole array. If the value of the search key is less than the item in the middle of the interval, narrow the interval to the lower half. Otherwise narrow it to the upper half. Repeatedly check until the value is found or the interval is empty.
2+
3+
Input ->
4+
Size, Array(Must be sorted) and Key
5+
- User can add a check if Array is sorted or not

0 commit comments

Comments
 (0)