Java
Java copied to clipboard
BinarySearch
trafficstars
- [ ] 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.
- [ ] All new code is formatted with
clang-format -i --style=file path/to/your/file.java
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 72.39%. Comparing base (
5e9d1dc) to head (1c028a0).
Additional details and impacted files
@@ Coverage Diff @@
## master #6059 +/- ##
=========================================
Coverage 72.38% 72.39%
- Complexity 4982 4983 +1
=========================================
Files 653 653
Lines 17574 17574
Branches 3386 3386
=========================================
+ Hits 12721 12722 +1
Misses 4372 4372
+ Partials 481 480 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
It's already implemented here https://github.com/TheAlgorithms/Java/blob/d1c1e6b4d251988e784bdab80e46ba4bfd531b02/src/main/java/com/thealgorithms/searches/BinarySearch.java#L18