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

15 lines
420 B
Markdown

# 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.
<details>
<summary>Solutions</summary>
<ol>
<li>5252</li>
<li>147784</li>
</ol>
</details>