1.0.3 • Published 6 years ago
algs-and-structs v1.0.3
Algorithms And Structures
Installation:
$ npm install --save algorithms-and-data-structures
List of Algorithms:
- Binary Search
- Selection Sort
- Quick Sort
Usage:
const algs = require('algs-and-structs');
console.log(algs.binarySearch([1, 2, 3], 1)); // return the index => 0