Here are my solutions to the Advent of Code 2021 puzzles.
Structure of the repo:
input
contains the input files (not included in the repo)raw
contains the exact Python code I had when I got the second star for that day, without any type hints, comments, and possibly even without sense (but it works). If there's just a singlepart1.py
file for a given day, it will actually contain both parts.python
contains much more readable solutions with type hints and comments using Python 3.10javascript
contains solutions in JavaScriptkotlin
contains my attempts to solve the puzzles in Kotlin. I've only started learning Kotlin this month, so any suggestions for improvements are welcome.elm
contains my solutions in Elm (see the instructions inside)
raw | python | javascript | kotlin | elm | |
---|---|---|---|---|---|
1 | ⭐⭐ | ⭐⭐ | ⭐⭐ | ⭐⭐ | ⭐⭐ |
2 | ⭐⭐ | ⭐⭐ | ⭐⭐ | ⭐⭐ | ⭐⭐ |
3 | ⭐⭐ | ⭐⭐ | ⭐⭐ | ⭐⭐ | |
4 | ⭐⭐ | ⭐⭐ | ⭐⭐ | ⭐⭐ | |
5 | ⭐⭐ | ⭐⭐ | |||
6 | ⭐⭐ | ⭐⭐ | |||
7 | ⭐⭐ | ⭐⭐ | |||
8 | ⭐⭐ | ⭐⭐ | |||
9 | ⭐⭐ | ⭐⭐ | |||
10 | ⭐⭐ | ⭐⭐ | |||
11 | ⭐⭐ | ⭐⭐ | |||
12 | ⭐⭐ | ⭐⭐ | |||
13 | ⭐⭐ | ⭐⭐ | |||
14 | ⭐⭐ | ⭐⭐ | |||
15 | ⭐⭐ | ⭐⭐ | |||
16 | ⭐⭐ | ⭐⭐ | |||
17 | ⭐⭐ | ⭐⭐ | |||
18 | ⭐⭐ | ⭐⭐ | |||
19 | ⭐⭐ | ⭐⭐ | |||
20 | ⭐⭐ | ||||
21 | ⭐⭐ | ||||
22 | ⭐⭐ | ||||
23 | ⭐⭐ (not included) | ||||
24 | I was disappointed by how tedious and time-consuming the assignments have become by that point and decided not to continue. | ||||
25 |
Feel free to start a discussion if you have any questions or suggestions.