# 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