Practicing data structure and algorithms, mostly in python for now
- Install poetry
- Setup python virtual environment using pyenv for python 3.7.9 (refer pyproject.toml for exact version)
- Activate the virtual environment
- run
poetry install
- use the requirements.txt which was generated from poetry in your favorite environment
- use the requirements-dev.txt for adding testing and other development tools
- run
python -m pytest
at root tor un all tests - run
pytest --cov
at root to run all tests and get coverage - run
coverage run -m pyest
at the root of project to generate coverage - run
coverage report
to see coverage - run
coverage html
to generate a detailed html report that shows line coverage - run
ptw --runner "pytest --picked --testmon"
to watch for changes and run respective tests
- Dynamic Programming course - freecodecamp
- Coursera - Algorithms Part1
- William Fiset - You Tube Data Structures Playlist
- coderbyte - Algorithm in one week
- Leetcode study guide -> find in pdf form here
- Grokking Algorithms - Book
- Abdul Bari - Algorithms Playlist YouTube
- Algorithms Illuminated - Books and Videos