Skip to content

Add: SentinelBinarySearch algorithm with tests#7433

Open
Pranjali86 wants to merge 5 commits into
TheAlgorithms:masterfrom
Pranjali86:add-sentinel-linear-search
Open

Add: SentinelBinarySearch algorithm with tests#7433
Pranjali86 wants to merge 5 commits into
TheAlgorithms:masterfrom
Pranjali86:add-sentinel-linear-search

Conversation

@Pranjali86
Copy link
Copy Markdown

  • [ x] I have read CONTRIBUTING.md.
  • [ x] This pull request is all my own work -- I have not plagiarized it.
  • [ x] All filenames are in PascalCase.
  • [ x] All functions and variable names follow Java naming conventions.
  • [ x] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • [ x] All new algorithms include a corresponding test class that validates their functionality.
  • [ x] All new code is formatted with clang-format -i --style=file path/to/your/file.java

@Pranjali86 Pranjali86 changed the title Add sentinel linear search Add: SentinelBinarySearch algorithm with tests May 24, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.66%. Comparing base (0a62b11) to head (e6cb65c).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7433   +/-   ##
=========================================
  Coverage     79.66%   79.66%           
- Complexity     7258     7261    +3     
=========================================
  Files           801      802    +1     
  Lines         23636    23649   +13     
  Branches       4654     4657    +3     
=========================================
+ Hits          18829    18840   +11     
  Misses         4054     4054           
- Partials        753      755    +2     

☔ View full report in Codecov by Sentry.
📢 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.

@Pranjali86 Pranjali86 marked this pull request as ready for review May 25, 2026 03:01
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