This are the homeworks of Jose Antonio Castro from Data Structures and Algorithms course (IIC2133) in Pontificia Universidad Catlica de Chile in the semester 2021-1.
Homework | Content |
---|---|
HW0 | Diferent performance between Python and C. |
HW1 | Diferent the eficency fo a Max Tree and compare it with a Component Tree. |
HW2 | Hash pixels of a photographs. |
HW3 | Implement greedy algorithm. |
In have a LICENSE for this code and in case you want to use it, you will have to buy me a hamburger or a beer.
- Email:
[email protected]
- Via issues.
This repository has been also added the feature of been dockerized, eventhougt it is not strictly necesary for it to work propertly.
- Have Docker and docker-compose installed (for WSL2 you can use this video tutorial and for macOS you can just install docker desktop).
- Run
docker-compose build
(this will take a while).
This commands you need to run then every time you want to start working in this docker container.
-
Run
docker compose up -d
. (first time will take a while) -
Run
docker compose run container /bin/bash
(to enter docker):Ones inside docker shell:
- Run
cd ~/volume
. - From here you can use the console however you want, to compile, run or use valgrind, python, etc.
- Run
I was inspired in the docker-compose feature by rieg-ec with his repository of valgrind-docker.