Mon | Tue | Wed | Thu | Fri | Sat | Sun |
---|---|---|---|---|---|---|
25 | 26 | 27 | 28 | 29 | 30 | 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 1 | 2 | 3 | 4 | 5 |
My take on Advent of Code 2024. I played this in the month before my final, so there were days I didn't finish (or due to my skill issues, for sure).
Update on day 16: I was tired of 2D-array problems + lots of deadlines were coming, so I dropped it.
Algorithm
- Tortoise and Hare Algorithm (Day 6, part 2)
Python
- Better understanding on
copy
module, deep copy (deepcopy()) and swallow copy (copy())
Other
- RegEx: Group capturing