1.0.1 • Published 1 year ago
loalgo v1.0.1
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() {...}