This repo contains my comprehensive solutions of HackerRank Python Preparation. They are divided by Difficulty into different folders: Easy, Medium, and Hard. Feel free to ask me anything or to contribute your optimizations.
Some problems need numpy package installed. I also use pre-commit to format my codes, you can check it at .pre-commit-config.yaml.
To install all required packages, run:
pip3 install -r requirements.txtTo install pre-commit for automatic code formatting, run once:
pre-commit install