mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-11-01 08:04:12 +01:00
15 lines
420 B
Markdown
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>
|