-
Notifications
You must be signed in to change notification settings - Fork 20k
Added [FEATURE REQUEST] <Recursive Binary Search> #4457 #4469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
debnath003
commented
Oct 1, 2023
- I have read CONTRIBUTING.md.
- This pull request is all my own work -- I have not plagiarized it.
- All filenames are in PascalCase.
- All functions and variable names follow Java naming conventions.
- All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
I have given the recursive binary search code in Java and created a PR, could you please merge it? @debasishbsws @BamaCharanChhandogi |
src/main/java/com/thealgorithms/searches/RecursiveBinarySearch.java
Outdated
Show resolved
Hide resolved
src/main/java/com/thealgorithms/searches/RecursiveBinarySearch.java
Outdated
Show resolved
Hide resolved
src/main/java/com/thealgorithms/searches/RecursiveBinarySearch.java
Outdated
Show resolved
Hide resolved
I have resolved all the resolved conversations, could you please review it? @debasishbsws |
@debasishbsws I have done the required changes and updated the codes, could you please merge my PR? |
@debasishbsws could you please review the changes and merge my PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is great that you have added the tests for the algo. But the implementation is little bit different from my expectation.
You can refer to the BinarySearch.java for understanding for what I am suggesting.
Your class RecursiveBinarySearch
should extend the SearchAlogrithm
class and implement the find method, that should call your function.
BTW thanks for your contributions, you are doing great so far.
After editing that part, will you merge this PR? Coz everything is okay in that code |
I have done what you have told me as follows: my class RecursiveBinarySearch should extend the SearchAlogrithm class and implement the find method, can you please check it @debasishbsws |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good