manjago.bsky.social
@manjago.bsky.social
tree.txt
tree.txt. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
December 14, 2024 at 7:39 PM
The transition seemed easy to me - the maze traversal was already there, I looped the unobstructed cells and added a loop detector. Brute force, but it worked fast enough
December 6, 2024 at 6:59 PM
That's great! But I tried the dumb way without dfs (just while the list is invalid - apply a random first hit rule and repeat again) - and that approach worked.

github.com/Manjago/aoc2...
aoc2024-maven/src/main/kotlin/Day05.kt at master · Manjago/aoc2024-maven
Contribute to Manjago/aoc2024-maven development by creating an account on GitHub.
github.com
December 5, 2024 at 6:59 PM