Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Solutions of algorithm problems using Javascript. https://ignacio-chiazzo.github.io/Algorithms-Leetcode-Javascript/
The solutions are located under /LeetcodeProblems. Each problem has a test file located under /LeetcodeProblemsTest.
Unit tests: To run all the test run node Test.js in the console. To run a specific problem in your console run node Test.js (e.g. node Test.js ./LeetcodeProblemsTests/Algorithms/easy/2Sum_Test.js).
Linter: This repository uses es-lint. To run all the tests you would need to install the packages by running npm install followed by npx eslint LeetcodeProblems LeetcodeProblemsTests which will run the eslint in all problems and tests. You can also use the flag --fix which will automatically fix some of the errors.
No open issues yet, or sync has not completed.