Python implementations of data structures, algorithms, and solutions to various coding challenges.
- Python 3.11 or higher
- Poetry (for dependency management) or pip
# Using Poetry (recommended)
cd python/
poetry install
# Or using pip
cd python/
pip install .All solutions use only the Python standard library (dependencies are for testing only):
python {folder}/{challenge}/{challenge}.py
# Examples:
python dsa/binary_search.py
python hacker_rank/30_days_challenge/day_1/data_types.py
python project_euler/problem_1.py# Run all tests
pytest
# Run with coverage
pytest --cov
# Watch mode for development
pytest-watch