Solutions to some coding challenges I've done in the past.
To clone and run this project, you'll need git and python installed on your computer. To run the test suite you'll additionally need the pytest python package.
# Clone this repository
$ git clone https://github.com/scramblerdoodle/coding-challenges.git
# Go into the repository
$ cd coding-challengesFrom which, you can either run the preset inputs for all the questions with
python main.pyOr run the test suite with
python -m pytest -v .Or run any of the questions individually to use your own inputs with
python question_{n}.pyWhere n is the question you'd like to run.