Java icon indicating copy to clipboard operation
Java copied to clipboard

Adding Order Agnostic Binary Search

Open ThisIsNishanth opened this issue 2 years ago • 3 comments

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

ThisIsNishanth avatar Dec 07 '22 05:12 ThisIsNishanth

Hey, I have created a pull request for this idea along with the code.

ThisIsNishanth avatar Dec 07 '22 08:12 ThisIsNishanth

Which PR is that?

siriak avatar Dec 24 '22 16:12 siriak

hey @siriak i have raised a PR for this issue. https://github.com/TheAlgorithms/Java/pull/3858

shahabrar7746 avatar Jan 16 '23 13:01 shahabrar7746

!assign

dineshlalam15 avatar Feb 10 '23 05:02 dineshlalam15

@siriak I have raised a pr on this issue .#3882 and added clean code and test cases also.

SunilKumar-K avatar Feb 17 '23 14:02 SunilKumar-K

Is this issue open? If so, can I work on it?

Swarga-codes avatar Mar 08 '23 12:03 Swarga-codes

It's done

siriak avatar Mar 08 '23 17:03 siriak