This repo contains 100 Python interview questions with:
- Problem statements
- My implementations
- Optimized solutions
- Tests
- Notes
- questions/ → practice
- solutions/ → reference answers
- tests/ → validation
- notes/ → learning insights
Run tests from the project root:
venv/bin/pytest -qIf your virtual environment is already activated, this also works:
pytest -qTo run a subset of tests, use -k:
venv/bin/pytest -k palindromeIf you are inside the questions/ folder, either go back to the project root first:
cd ..
venv/bin/pytest -qor run pytest with the parent-relative path:
../venv/bin/pytest -q