Discussion thread for day 5 of the Advent of Code - https://adventofcode.com/2023/day/5
I revisit my WF and update. I got the clear picture now. WF completes in 0.7sec.
My brain definitely hurts after this one......
Solved. Part 1 worked beautifully but Part 2 failed spectacularly (those Joins seemed like such a good idea during Part 1), so I ended up rebuilding the workflow just for Part 2 with an Iterative Macro (which I probably should've done in the first place). Good fun
Pure brute force. The workflow ran all night and finished 20 min before the AoC Day ended.
5/5 so far.
workflow
My solution.
Part 1 is normal brute force. But that was not working for Part 2. So I made it using range approach.
Day 5 Part 2 was tricky even with the right "logic". Ranges are easy to conceptualize, but a bit harder to implement... but when it finally works, it solves both parts in 0.6 seconds. 😁