Skip to content

Linear Search Algorithm in Java #6277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

farheen-shaikh530
Copy link

Added a simple Linear Search algorithm in Java under Search/LinearSearch.java. Includes explanatory comments and a sample test run.

  • 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-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.06%. Comparing base (7602f1e) to head (9d54909).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6277      +/-   ##
============================================
- Coverage     74.07%   74.06%   -0.01%     
+ Complexity     5351     5350       -1     
============================================
  Files           677      677              
  Lines         18648    18648              
  Branches       3621     3621              
============================================
- Hits          13813    13812       -1     
  Misses         4276     4276              
- Partials        559      560       +1     

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

@@ -0,0 +1,30 @@
/**
Copy link
Collaborator

Choose a reason for hiding this comment

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

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