algorithms-js
algorithms-js copied to clipboard
Consumable Data Structures and Algorithms library in JavaScript
### Data Structures to be implemented are: - [ ] Segment Trees - [ ] Binary Search Tree - [x] Graphs
- [ ] Viterbi algorithm
## Description of new feature, or changes Fix bug in interpolation search where the division is not floored, this is what prevented the 100% coverage and also there are cases...
## Description Currently, test coverage is at 90% which can surely be improved. Possibly, one of the easiest ways for someone to contribute to this library.
Bumps [chownr](https://github.com/isaacs/chownr) from 1.0.1 to 1.1.4. Commits 814f642 1.1.4 a0d7ae0 push to github before npm 1a3667a ignore stuff 147eac4 Full tests, handle errors properly in many cases 578fb9f update tap,...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.5.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
#### Math algorithms to be implemented are: - [x] GCD - [x] LCM - [x] Multiplication Expo Squaring - [ ] Find Divisors - [ ] Fibonacci - [ ]...
- [ ] Determinant of a Matrix - [ ] Tridiagonal Matrix Algorithm
## Description of new feature, or changes The function gcd_multiple_numbers, takes in variable number of arguments(numbers) and calculates the GCD for all those arguments. ## Checklist - [x] Your branch...
## Description of new feature, or changes Added Find Divisors Function to get divisors of a particular number in an array in sorted order Added Fisher-Yates shuffling algorithm to shuffle...