Solution for HackerRank Problems in Javascript. ( Find Me at HackerRank )
Note: This repository is only for educational purpose
Run
$ git clone https://github.com/thamaraiselvam/HackerRank.git
$ cd HackerRank
$ npm install
This will download the code and install the required dependencies.
To run tests, make sure you npm install
soon as you clone and then run npm run test
and run npm run report
for coverage.
Take a look at test/Arrays/left-rotation.test.js
to see a sample test spec.
- 2D Array - DS
- Apple and Orange
- Array Manipulation
- Birthday Cake Candles
- Breaking the Records
- Compare the Triplets
- Diagonal Difference
- Jumping on the Clouds
- Left Rotation
- Minimum Swaps 2
- New Year Chaos
- Sock Merchant