recongamer / Hacktoberfest2021

Repository dedicated for beginner to compete in Hacktoberfest 2021 challenge . Create HactoberFest Pull Request
46 stars 208 forks source link

Created OrderAgnosticBinarySearch.java #256

Open AbhishekBhatt072003 opened 2 years ago

AbhishekBhatt072003 commented 2 years ago

This is Java program to search the element in an array using Binary Search. Binary Search only works for sorted array (either ascending or in descending order).

Where normal Binary search only works for either ascending or descending array, Order Agnostic Binary search works irrespective of the order of the array, i.e will works both for ascending and descending array.

AbhishekBhatt072003 commented 2 years ago

It will be great if you merge this and add hacktoberfest-accepted tag in it!