r/adventofcode • u/jlhawn • Dec 24 '24
Visualization [2024 Day 24 Part 2] Using a graph visualization tool (Mermaid) to identify suspicious wires.
140
Upvotes
r/adventofcode • u/jlhawn • Dec 24 '24
View all comments
33
u/jlhawn Dec 24 '24
So my solution to part 2 was basically to write a script to convert the input into a graph in Mermaid, then take a look at it. I know how an adder should work (because I have created a virtual arithmetic logic unit before using a tool called Logisim) so it was easy to identify what wires are swapped just by looking at it.