Parnic dbc4b5cf6b Day 20 completed
The key feature for part 2 is changing up what the Dijkstra solver views as an "adjacent" node, injecting the appropriate depth as we traverse inner/outer portals. The main thing that tripped me up here from part 1 was that I needed to be carrying more data along with portals than just their locations, and I could no longer get away with storing the portals as pairs of their inner/outer locations, so a small refactor was needed. Once I made those corrections, it was mostly a matter of ironing out the "get neighbors" function to adhere to part 2's rules, which took me a lot of debugging to get just right.
2022-06-22 23:32:33 -05:00
2022-06-06 15:14:31 -05:00
2022-06-22 23:32:33 -05:00
2022-06-22 16:53:03 -05:00
2022-06-22 16:52:32 -05:00
2022-06-06 15:14:31 -05:00
2022-06-22 16:53:03 -05:00
2022-06-07 09:54:20 -05:00

Advent of Code 2019

My solutions to Advent of Code 2019.

Description
No description provided
Readme 1.6 MiB
Languages
Go 100%