This repository provides a collection of algorithm problems and their solutions in JavaScript.
The repository is organized as follows:
algorithms
: Contains the JavaScript solutions for various algorithm problems.tests
: Contains the test cases for the algorithm solutions.
- JavaScript
- Jest (testing framework)
-
Clone this repository.
git clone https://github.com/your-username/js-algorithms.git cd js-algorithms
-
Install the required packages.
npm install
-
Run the tests.
npm test