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 the C code for Binary search.
Comment if you need any help.
You may like:
Post a Comment