These are most of my HackerRank problem solutions.
I decided to upload them to GitHub for future reference/archiving.
I use HackerRank as one of many tools to practice, learn and improve as a coder.
Be kind when looking at my code - remember it's a process 😌
| Language | Version | Time limit | Memory limit | Libraries |
|---|---|---|---|---|
| Javascript | node.js v8.10.0 | 10 s | 512 MB | [email protected]*, [email protected], [email protected], [email protected] |
| MySQL | Ver 5.7.21-0ubuntu0.16.04.1 (x86_64) | 60 s | 512 MB |
HackerRank has language specific environments with additional libraries available for use.
The environment data above was provided by HackerRank. You can see their full list here.
* The only library I use is bignumber.js, since pretty much everything else can be done natively with ES6+ syntax. However, I've noticed the version used on HackerRank is different from the one listed (it's impossible to see the exact version they use). I currently use version ^7.0.0 in my local testing environment.
$ npm run lintRun ESLint on all JavaScript files in the repo.
Airbnb's style guide is used as the base ruleset, but with a few modifications.
Detailed linting rules can be found in the ESLint config file.