Skip to content
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

add linear search algorithm (linear_search.js) #136

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Update linear_search.js
  • Loading branch information
nersus15 authored Oct 26, 2019
commit 8754110c4b037ea6e35a655804a51d693ea56c9f
2 changes: 1 addition & 1 deletion src/algorithms/search/linear_search.js
Original file line number Diff line number Diff line change
@@ -4,4 +4,4 @@ const linearSearch = (arr, val) => {
}
return -1;
}
module.export =
module.export = linearSearch;