Binary search algorithm implementation in java

Binary search:

Binary search is a searching algorithm that can search first-er then Sequential search. It's executed in O(log N) time.
A binary search can
only be performed if the list is in sorted order.


Here is Java code of  Binary search :

Here is C code for Binary search.
Comment if you need any help.

You may like:

Binary search in C                                                             Art of programming contest

0/Post a Comment/Comments