This repository is a collection of different javascript problems.
Each problem is in a README.md file in the corresponding branch.
So for each problem we intend to create a seperate branch. Branch name is similar to the problem.
My intention is to provide an algorithm for each problem and the solution code is present beside the initial question.
Every algorithm has its correspinding test which is implemented with jest testing library.
if you run the code:
yarn test
tests for all algorithms in the project will be run.
if you want to run only a specific algorithm's test, you just need to navigate to the directory like:
cd longest-substring
Then run the test file, like:
yarn test longest.test.js
That's all folks!