Java
Java copied to clipboard
Adding Order Agnostic Binary Search
What would you like to Propose?
Order Agnostic Binary Search Algorithm on 1-D Arrays.
Issue details
Order Agnostic Binary Search algorithm is used when we do not know whether the given array is descending or ascending.
Example: [5,4,3,2,1] I can write clean code to find out whether the array is ascending or descending and apply Binary Search on it.
Please assign this to me as I have worked on this problem before.
Additional Information
No response
Hey, I have created a pull request for this idea along with the code.
Which PR is that?
hey @siriak i have raised a PR for this issue. https://github.com/TheAlgorithms/Java/pull/3858
!assign
@siriak I have raised a pr on this issue .#3882 and added clean code and test cases also.
Is this issue open? If so, can I work on it?
It's done