Skip to content

A project containing some of HackerRanks challenges as unit tests, both with and without working solutions.

License

Notifications You must be signed in to change notification settings

alexander-scott/HackerRank-Challenges

Repository files navigation

Build Status codecov Coverage Status Codacy Badge

HackerRank Challenges

Introduction

This repository contains some of HackerRank's challenges as unit tests, both with and without working solutions. The reason for creating this repository was because I prefer to complete the challenges in my own IDE with the ability to debug the code.

Tech Stack

  • Git
  • CMake
  • CLion (or your preferred IDE)
  • Clang (or your preferred compiler, I'm on MacOS)
  • GoogleTest (included)

Project Overview

The challenges folder contains classes with unit tests that represent each HackerRank challenge. If you just want to solve the challenges there isn't much reason to enter that folder. The solutions folder contain the solution to each challenge, with the Master branch containing completed solutions and the DoItYourself branch containing incomplete solutions.

Development

Clone the git repository. Create the project using CMake. Open the solution with your preferred IDE. Set the build configuration to Challenges. Running the project will then trigger all the GTests and the result of which will be written to the output. If you're on the DoItYourself branch, start editing the source files in the Solutions folder to try and get the tests to pass. A link to the challenge description is at the top of every file.

About

A project containing some of HackerRanks challenges as unit tests, both with and without working solutions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published