Skip to content

Improve Javadoc for LinearSearch find method - #7657

Merged
alxkm merged 3 commits into
TheAlgorithms:masterfrom
anweshabehera-arch:master
Oct 24, 2026
Merged

alxkm merged 3 commits into
TheAlgorithms:masterfrom
anweshabehera-arch:master

Conversation

@anweshabehera-arch

Copy link
Copy Markdown
Contributor

Updated Javadoc for the find method to clarify return value conditions.

  • 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

Updated Javadoc for the find method to clarify return value conditions.
@codecov-commenter

codecov-commenter commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.19%. Comparing base (3d71df9) to head (5aa1992).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7657   +/-   ##
=========================================
  Coverage     82.19%   82.19%           
+ Complexity     8381     8380    -1     
=========================================
  Files           842      842           
  Lines         26101    26101           
  Branches       5090     5090           
=========================================
+ Hits          21454    21455    +1     
+ Misses         3858     3857    -1     
  Partials        789      789           

☔ 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.

@alxkm alxkm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you for the contribution.

@alxkm
alxkm merged commit 773d745 into TheAlgorithms:master Oct 24, 2026
7 checks passed
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.

3 participants