-
Notifications
You must be signed in to change notification settings - Fork 20.2k
Closed
Labels
Description
What would you like to Propose?
New Algorithm under
https://github.com/TheAlgorithms/Java/tree/master/src/main/java/com/thealgorithms/searches
File Name Proposed: RecursiveBinarySearch.java
What?
An implementation of Binary search using recursion.
Why?
Approaching a binary search using recursion helps students better understand how recursion works.
Issue details
Link for Algorithm:
https://www.geeksforgeeks.org/binary-search/
Best Case: O(1)
Average Case: O(log N)
Worst Case: O(log N)
Space Complexity: O(logN)
Additional Information
No response