This is the solution repo for Mentel Group take home coding test. It is written in Javascript, the prerequisite for running the project are:
- Node.js v16 and up
- Yarn/NPM/Bun
To get started, clone this repository. Run the install scripts, then run the run:project
script:
yarn install
yarn run:project
The answer and solution for the 3 items requested will be logged in the terminal.
More test cases have also been created to test this code, the test data files are stored in ./testData
To run test, use the test
script:
yarn test