This repository contains coding interview practice problems and solutions from various sources.
I decided to use Python as the main language for solving these problems - I want to improve my Python skills as well. It is free to use any code from this repository for your own learning and practice.
# Navigate to any module directory (e.g., two_pointers, hash_map_set, tree, etc.)
cd two_pointers
# Set up virtual environment
python -m venv ../.venv
source ../.venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run tests for this module
pytest -s -vv --log-cli-level=DEBUG-s: Don't capture output (allows print statements and logging to show)-v: Verbose mode (shows test names)--log-cli-level=DEBUG: Show logging messages at DEBUG level and above