1.0.0 • Published 7 years ago
algoholic.js v1.0.0
algoholic.js
==================
Classic algorithms and data structures implemented in JavaScript. Build by taha Nebti for acm tcpc training.
Installing
npm install --save algoholic
Contents
Math algorithms
require('algorithms/math');
// or
require('algorithms').Math;
- collatzConjecture
- extendedEuclidean
- fastPower
- fibonacci
- findDivisors
- fisherYates
- gcd (Greatest common divisor)
- greatestDifference
- lcm (Least common multiple)
- newtonSqrt
- nextPermutation
- powerSet
- reservoirSampling
- shannonEntropy
1.0.0
7 years ago