Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.36 KB

README.md

File metadata and controls

35 lines (18 loc) · 1.36 KB

HackerRank Solutions

You will find here my proposed solutions for (some) HackerRank questions.

Getting Started

Looking for the answer yourself first would be a good start ! ( ͡° ͜ʖ ͡°)

Prerequisites

Knowing C++ and Python won't hurt...

About these solutions

All answers passed the questions' test cases and scored the maximum possible amount.

A decent amount of effort was put into keeping execution time and memory space in check.

I left only the required headers to run the solution on HackerRank.

All C++ code passed SonarLint's inspection, excluding warnings about using std::cin and std::cout.

Why did you use Python on some answers ?

While I'm more familiar with C++, I occasionally used Python when I felt it would result in leaner, more readable code.

I recommend using PyPy3 instead of Python 3 in HackerRank's language selector - this will set the timeout limit lower for standard challenges ( 4 seconds instead of 10 ). On the other hand you'll benefit from PyPy's wicked fast JIT compiler.

Checking solutions

Copy-paste the proposed solution to HackerRank's 'Current Buffer' and test it ¯\_(ツ)_/¯

License

This project is licensed under the MIT License - see the LICENSE file for details.