Skip to content

yefremov/algorithms-with-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

algorithms-with-javascript Build Status Coverage Status

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.

Contents

Iterative

  • coprime
  • maxsubarray
  • isprime

Recursive

  • factorial
  • fibonacci
  • gcd

Search

  • binary
  • linear

Sort

  • bubble
  • insertion
  • selection
  • merge
  • radix

Running tests

$ npm install
$ npm test

License

MIT

About

Common programming algorithms written with JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published