Practice and test programming problems.
It's recommended to come up with the algorithm and write the code out by hand before implementing the solution.
- Install node
npm install
npm test
npm run lint
npm test
npm run cover
There is also a test watch script.
npm run test:watch
Test script runs every .spec.js file in the project. Add new problems by creating a .spec.js along with any file or folder structure that clearly encapsulates the problem.