Binary Search in Java

 

Binary Search requires sorted Array.

To sort the given array, in-build sorting function "Arrays.sort()" has been used.

Or sorting techniques such as Selection sort or Bubble sort can be used.

Popular posts from this blog

Array-(Program 1)