Skip to content

Improve rotated binary search edge cases - #7623

Open
sohamcodes-ctrl wants to merge 2 commits into
TheAlgorithms:masterfrom
sohamcodes-ctrl:fix/rotated-binary-search-edge-cases
Open

sohamcodes-ctrl wants to merge 2 commits into
TheAlgorithms:masterfrom
sohamcodes-ctrl:fix/rotated-binary-search-edge-cases

Conversation

@sohamcodes-ctrl

@sohamcodes-ctrl sohamcodes-ctrl commented Sep 29, 2026 •

Copy link
Copy Markdown
  • 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 algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter

codecov-commenter commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 81.63%. Comparing base (3f06708) to head (9e94464).

Files with missing lines Patch % Lines
...om/thealgorithms/searches/RotatedBinarySearch.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7623      +/-   ##
============================================
+ Coverage     81.62%   81.63%   +0.01%     
- Complexity     8162     8167       +5     
============================================
  Files           837      837              
  Lines         25656    25658       +2     
  Branches       5011     5011              
============================================
+ Hits          20941    20947       +6     
+ Misses         3924     3923       -1     
+ Partials        791      788       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants