loalgo
v1.0.1
Published
A library to make algorithm's concise in code.
Downloads
4
Maintainers
Readme
Algorithms
A npm
package that makes algorithm concise.
Homage to lodash
, which makes methods concise.
Search Algorithms Index Table
| Search | Function Name | | ----------- | ----------- | | Linear | linear(int[] arr, int target) | | Binary | binary(int[] arr, int target, bool unordered) |
Sorting Algorithms Index Table
| Sort | Function Name | | ----------- | ----------- | |Bubble| bubble() |
Search Algorithms
There are three types of search algorithms. Linear, binary and hashing.
Linear or Sequential Search
function linear() {...}
Binary Search
function binary() {...}