Skip to content

This is a repository to store all of the JavaScript HackerRank Challenges completed by @AntonioJacksonII. This repository uses the hackerrank.js base repository to test the JavaScript code against the HackerRank test cases.

License

Notifications You must be signed in to change notification settings

AntonioJacksonII/hackerrank

Repository files navigation

HackerRank Challenges

This is a repository to store all of the JavaScript HackerRank Challenges completed by Antonio Jackson. This repository uses the hackerrank.js base repository to test the JavaScript code against the HackerRank test cases.

Requirements:

  • Node v6+

Installation:

# Clone/fork the repository
git clone git@github.com:AntonioJacksonII/HackerRank_Challenges.git

# Change directory
cd hackerrank

# Install dependencies
npm install

Usage:

  1. All completed challenges are in the /challenges directory, within the subdirectory for their tutorial name.
  2. To test the code against the HackerRank sample test cases, run the following from the root directory, replacing /30_days/day_6 with the location of the challenge you want to test:
node hackerrank.js challenges/30_days/day_6 --console
  1. You should see output similar to:
  Running HackerRank Challenge:  30_days/day_6  with  1  testcases.

✔ input00.txt

  Success! (1)
  1. You can also add additional/custom testcases. Just ensure that the input and output filenames match.

About

This is a repository to store all of the JavaScript HackerRank Challenges completed by @AntonioJacksonII. This repository uses the hackerrank.js base repository to test the JavaScript code against the HackerRank test cases.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •