0 votes
in Cobol by
What is binary search?

1 Answer

0 votes
by

First, we have to compare the item to be searched with the item at the center.

If it matches, it is good to go with the value else repeat the process with the left half or the right half depending on where the item lies.

...