Skip to content

A repository containing various Javascript algorithms and data structures solutions

Notifications You must be signed in to change notification settings

bmuthoga/Algorithms-and-Data-Structures

Repository files navigation

Algorithms and Data Structures

A repository containing various data structures and algorithms exercises and solutions

Each exercise/solution is within its own folder, along with their accompanying tests

Setup

Clone this repository

git clone https://github.com/bmuthoga/Algorithms-and-Data-Structures.git

Navigate into its directory

cd ./Algorithms\ And\ Data\ Structures

Install Jest globally

npm i -g jest

Running Tests

To run a test for a specific exercise/solution:

Run Jest against the specific exercise/solution's test in watch mode

jest reversestring/test.js --watch

If this doesn't work, try

jest reversestring/ --watch

Or you can omit the watch mode option to simply run the tests

jest reversestring/test.js

Built With

NPM - Dependency Management

Node.js - Javascript Run-Time Environment

Authors

Batian Muthoga

License

This project is licensed under the ISC License