javascript-algorithms
javascript-algorithms copied to clipboard
Linear search fix.
Make it consistent with the description:
"It sequentially checks each element of the list for the target value until a match is found or until all the elements have been searched."
Codecov Report
Merging #504 into master will not change coverage. The diff coverage is
100.00%.
@@ Coverage Diff @@
## master #504 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 149 149
Lines 2612 2611 -1
Branches 434 434
=========================================
- Hits 2612 2611 -1
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...rc/algorithms/search/linear-search/linearSearch.js | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update ba2d8dc...6f351c2. Read the comment docs.