mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2025-12-13 21:34:58 +00:00
12
This commit is contained in:
14
2021/12/README.md
Normal file
14
2021/12/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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>
|
||||
Reference in New Issue
Block a user