Coding challenges on HackerRank with an explanation of how I solved each one.
- Solve Me First
- Simple Array Sum
- Compare the Triplets
- Diagonal Difference
- Plus Minus
- Staircase
- Product of Integers
- Mini-Max Sum
- Birthday Cake Candles
- Time Conversion
- Grading Students
- Apple and Orange
If you would, for whatever reason, like to build these projects into javascript just run:
npm run build
The build output will appear in a dist
folder in the source directory.
To run the full test suite just run:
npm run test
To run with a generated coverage report run:
npm run test:coverage
A coverage folder should then be generated in the source directory
I use eslint
to lint the code, to run the linter manually run:
npm run lint