npm.io
1.0.3 • Published 8 years ago

algs-and-structs

Licence
ISC
Version
1.0.3
Deps
0
Size
14 kB
Vulns
0
Weekly
0

Algorithms And Structures

Build Status

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

Keywords