I didn't use an elegant solution to Part 2, I just simulated all possible locations for the guard and checked for a loop. This is not a good solution, it did work tho! (It only took 8 seconds!)

I've completed "Guard Gallivant" - Day 6 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/6

Comments