For completeness I created a programmatic approach that includes some of the code I wrote to get me the answer, plus some more to cast a wide enough net and find gates to swap, without running out of time before the end of the universe.
https://github.com/jochie/adventofcode/blob/main/2024/24/program.py#L195
[#]AdventOfCode #Python #Programming
=> More informations about this toot | View the thread | More toots from jochie@strangeweb.page
=> View adventofcode tag | View python tag | View programming tag This content has been proxied by September (3851b).Proxy Information
text/gemini