Tests and implementations for algorithms commonly used in job interviews. See the full list in the algorithms.md file.
Base repository for the Core Algorithms goal.
npm i
npm test to run all tests
completed: makeChange, fizzBuzz, isPalindrome, Factorial out of 10 function in ALGORITHMS.md for CLassic, Numeric, and Set (not done)
- Artifact produced is a fork of the core-algorithms repo.
- Can run all tests with npm test.
- All tests are passing.
- For each algorithm in the algorithms list, there exists:
- a test file with at least 2 unit tests using valid inputs, and at least 1 unit test using invalid inputs. an implementation file with a correct implementation of the algorithm.
- Repository includes a README file with basic installation and setup instructions.
- All dependencies are properly declared in package.json.
- All major features are added via pull requests with a clear description and concise commit messages.
- Code uses a linter and there are no linting errors.
- Variables, functions, files, etc. have appropriate and meaningful names.
- Functions are small and serve a single purpose.
- The artifact produced is properly licensed, preferably with the MIT license.