Here, you'll find solved code challenges from platforms like Hackerhank, Practice Python, Project Euler, some programming book exercises (e.g. Elements of Programming Interviews), common algorithms and data structures implementation, and others.
Until this commit, the code were all made using only the standard library, so the requirements are here just for the tests:
git clone https://github.com/alefeans/python-exercises.git .
python {platform}/{challenge}/{challenge}.py
Activate your Python virtual environment and run:
poetry install
# or
pip install .
Then:
pytest
This project is licensed under the MIT License - see the LICENSE file for details.