This repository contains my JavaScript solutions for Codility questions.
nvm (Node Version Manager) is required to manage Node.js versions. You can install it by following the instructions in the nvm repository.
The Node.js version is specified in the .nvmrc file in this repository. It should match with the version used by Codility platform.
nvm useto install Node.js based on the.nvmrcfile.npm installto install the dependencies.- Use either one of the following commands to run the tests:
npm run testto run all tests.npm run test:watchto run tests in watch mode.npm run test:coverageto run tests with coverage report.