Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 2.32 KB

File metadata and controls

58 lines (47 loc) · 2.32 KB

Python Data Structures and Algorithms License: MIT

Various Data Structures and Algorithm Solutions in Python (3.x). Succinct Python one-liners are avoided in most solutions to prevent obscuring the function and logic of the algorithms / data-structures.

Algorithms

Project Setup

Local development

  • Install pyenv
  • Install current Python version: pyenv install 3.12
  • Set global Python version: pyenv global 3.12
  • Initialize virtual environment: python -m venv .venv
  • Activate: source .venv/bin/activate
  • Install packages: pip install -r requirements.txt

VS Code Dev Container

  • Download VSCode and Docker
  • Launch project inside of Docker container in VSCode
  • VSCode does the rest!

Project Commands

  • Lint project - flake8
  • Run Unit Tests - pytest