Skip to content

tomaszmichalak/coding-interview

Repository files navigation

Coding Interview

Tests

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.

How to run

# 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

Pytest options

  • -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

About

This repository contains coding interview practice problems and solutions from various sources.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages