A basic program for searching a number in the sorted array using the technique of binary search.
For example,
input=
5 //number of elements in array
1 2 3 4 5 //array elements
4 //number to be searched
output=
3 //index where is number 4 is found in the array.
Description
enter here if you have any details
Program Name - Binary Search
Issue No.- #359
Type issue number after hash(#)
Checklist(self check)
[x] Yes, this task assigned to me.
[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] My Filename is in camelCase format
[x] I have added Problem statement, Problem link in file.
A basic program for searching a number in the sorted array using the technique of binary search. For example, input= 5 //number of elements in array 1 2 3 4 5 //array elements 4 //number to be searched output= 3 //index where is number 4 is found in the array.
Description
enter here if you have any details
Program Name - Binary Search Issue No.- #359
Checklist(self check)