My Solution to the Red Badger Coding Challenge
- node.js v9.11 or higher
No dependencies need to be installed to run the program, just execute the following command:
npm run start
Step 1: Install dependencies:
npm i
Step 2: Run the tests
npm run test
If I had more time to complete the problem I would add:
- validation of inputs and verification of constraints
- more comprehensive error checking