Note
Input link: https://adventofcode.com/2024/day/6/input
Note
Problem link: https://adventofcode.com/2024/day/6
$ cargo run --release -- --input 2024/day06/input.txt 2024 06 part1
5409
Note
Problem link: https://adventofcode.com/2024/day/6#part2
Caution
Solution is incomplete. Answer for input example is OK so I am probably missing an edge-case. I've printed the map to try and trace back the path manually but 475 possible obstructions is a very large amount, therefore I decided to abandon for now.
$ cargo run --release -- --input 2024/day06/input.txt 2024 06 part2
475
# Wrong answer, too low :(