advent-of-code/2024-python/output
Anders Englöf Ytterström 7b2b101b8b Solve 2024:6 p1-2 "Guard Gallivant"
Pt 1 was easy, Pt 2 was pure horror.

Earlier drafts of the code tried to be way too
smart. At one point, I just came to the conclusion
to place a new obstacle (#) on the grid and just
rerun the thing to look for loops.

2 things:

- the visited positions from pt 1 can be used as a
subset for positions to consider for the extra
"#".
- The track of loops can be optimized to look at
bounces on "#"s instead of each individual y,x pos,
given that the direction is remembered.

pt 2 is familiar, the last time a puzzle required
look detection the puzzle used lazer beams and
reflectors. Not sure what Event or day it was.
2025-01-05 00:06:18 +01:00
..
__init__.py Solve 2024:3 p1-2 "Mull It Over" 2025-01-05 00:06:18 +01:00
day_01.py Solve 2024:1 p1-2 "Historian Hysteria" 2025-01-05 00:06:18 +01:00
day_02.py Solve 2024:2 p1-2 "Red-Nosed Reports" 2025-01-05 00:06:18 +01:00
day_03.py Solve 2024:3 p1-2 "Mull It Over" 2025-01-05 00:06:18 +01:00
day_04.py Solve 2024:4 p1-2 "Ceres Search" 2025-01-05 00:06:18 +01:00
day_05.py Solve 2024:5 p1-2 "Print Queue" 2025-01-05 00:06:18 +01:00
day_06.py Solve 2024:6 p1-2 "Guard Gallivant" 2025-01-05 00:06:18 +01:00