This year I will tackle the advent of code problems in Python. I am using built-in python and other related libraries. I am not going for the most efficient solution, benchmarking my code, nor timing my solutions. I am just solving these problems for fun. Considering finals week is in December, I will not be able to solve these problems on the day they are released, nor will I be able to solve them all.
To run the code, you will need to have Python 3 installed. Create a venv and all that jazz. Replace the 'input.txt' file
with the input file for the problem you are trying to solve. Then run the code with python3 d<n>.d<n>.py
.
Replace <n>
with the day number.
Day | Problem | Stars | Solution |
---|---|---|---|
1 | Historian Hysteria | ★★ | d1.py |
2 | Red-Nosed Reports | ★★ | d2.py |
3 | Mull It Over | ★★ | d3.py |
4 | Ceres Search | ★★ | d4.py |
5 | Print Queue | ★★ | d5.py |
6 | Guard Gallivant | ★★ | d6.py |
7 | Bridge Repair | ★★ | d7.py |
8 | Resonant Collinearity | ☆☆ | d8.py |
9 | Disk Fragmenter | ★★ | d9.py |
10 | ?? | ☆☆ | d10.py |
11 | ?? | ☆☆ | d11.py |
12 | ?? | ☆☆ | d12.py |
13 | ?? | ☆☆ | d13.py |
14 | ?? | ☆☆ | d14.py |
15 | ?? | ☆☆ | d15.py |
16 | ?? | ☆☆ | d16.py |
17 | ?? | ☆☆ | d17.py |
18 | ?? | ☆☆ | d18.py |
19 | ?? | ☆☆ | d19.py |
20 | ?? | ☆☆ | d20.py |
21 | ?? | ☆☆ | d21.py |
22 | ?? | ☆☆ | d22.py |
23 | ?? | ☆☆ | d23.py |
24 | ?? | ☆☆ | d24.py |
25 | ?? | ☆☆ | d25.py |