1 Comment

In my solution i just get the indices of all the Galaxys and increment them by the growth rate. Then i calculate the differences for each pair. I guess there are better solutions but it worked out :).

https://github.com/KevDi/AoC2023/tree/main/day11

Expand full comment