A npm
package that makes algorithm concise.
Homage to lodash
, which makes methods concise.
Search | Function Name |
---|---|
Linear | linear(int[] arr, int target) |
Binary | binary(int[] arr, int target, bool unordered) |
Sort | Function Name |
---|---|
Bubble | bubble() |
There are three types of search algorithms. Linear, binary and hashing.
function linear() {...}
function binary() {...}