This is a collection of different algorithms, written in JavaScript. The purpose of this package is to define basic algorithms in a concise, but readable form. However, no (pre)mature optimizations should be expected here and code should never be used in production.
- coprime
- maxsubarray
- isprime
- factorial
- fibonacci
- gcd
- binary
- linear
- bubble
- insertion
- selection
- merge
- radix
$ npm install
$ npm test