Advent of Code - Day 17

Note: This topic is to talk about Day 17 of the Advent of Code.

For general discussion about the Advent of Code 2018 and links to topics of the other days, see this topic.

1 Like

Today was quite tricky. In the end I solved it by using a depth-first recursive approach. It works reasonably fast (under a second). The code is available here.

3 Likes

Here is my solution. It runs in about 30 seconds.

2 Likes

Here’s my solution:

It’s very fast, but I admit that I had to download @sasajuric’s code to figure out how to fix a particularly nasty bug I introduced.

1 Like