5 Commits

Author SHA1 Message Date
fee37aebd0
day6: further performance improvement, ~55ms total runtime
We only need to run the guard forward from the step before the obstacle
we placed, instead of starting at the original starting position.

The code starts to look ugly...
2024-12-06 17:05:36 -08:00
b1918bbebf
day6: performance - only check obstacles on the original path
700ms -> 150ms
2024-12-06 10:59:43 -08:00
1cd535c2aa
chore: clippies 2024-12-06 10:52:31 -08:00
1dd3ce5862
day6: performance improvement 2024-12-06 10:40:28 -08:00
145d779e83
day6: complete solution + grid lib (used in solution) 2024-12-05 22:41:47 -08:00