advent-of-code/2021/12/README.md
2022-11-28 21:54:36 +01:00

420 B

12

The first is quite nice, good recursion exercise :) I messed up at first as I saved the graph as a directional, but that was a quick fix.

For part 2, since we only visit a single cave once more, we cann add a joker parameter to our walker and use it only once when we are stuck in every path of the tree.

Solutions
  1. 5252
  2. 147784