A collection of Algorithms 🦆
NOTE: This library is still in its development, so there might be some breaking changes!
-
Add Algoose to your Project
yarn add algoose # or npm install algoose
-
Create
index.js
and Add the following toindex.js
const {binarySearch} = require('algoose'); const result = binarySearch([0, 2, 3, 5, 7, 8], 5); console.log(result) // Output: 4
-
Fork on Github and Clone the repository
git clone https://github.com/YourProfileName/algoose.git
-
Install Dev Dependencies
yarn install # or npm install
-
Make changes
-
Run tests
yarn run tests
-
Pull Request