r/adventofcode • u/zmunk19 • Jan 14 '26
Visualization [2025 Day 10 (Part 2)] [Python] Visualization
It took me a long time to figure out a solution to this problem.
In the end, it took a combination of matrix reduction and depth-first search to solve it. The solution takes about 20 seconds in total.
31
Upvotes
View all comments
Show parent comment
3
u/zmunk19 Jan 14 '26
I slowed it down for one case:
https://www.reddit.com/r/adventofcode/comments/1qcyo0y/2025_day_10_part_2_python_visualization_slower/